I created a new site using the /alfresco/service/api/sites POST method. The site gets created successfully, but when I go to the site in Share via the browser, I get an error page and the log shows:
Could not resolve view with name 'site/myshortname/dashboard' in servlet with name 'Spring Surf Dispatcher Servlet'
Note that if I force the URL to:
/share/page/site/myshortname/documentlibrary
then it does show me the documents page. It's just the dashboard page that throws the error for sites created via the API.