Esri / storymap-journal

The Story Map Journal is ideal when you want to combine narrative text with maps and other embedded content.
Apache License 2.0
99 stars 79 forks source link

User Type error with private storymap #93

Open jessemaps opened 4 years ago

jessemaps commented 4 years ago

Using downloaded storymap-journal-1.20.0.zip, hosted on Windows IIS. I configured the story map to use the resource proxy with credentials stored in my account. I can tell from the web traffic that the proxy is working as intended, using the proxy to request the web application item from ArcGIS Online. My ArcGIS Online account user type is "Creator", with "Publisher" role. I created a story map in my ArcGIS Online account, then open it in the hosted version using the appid parameter. This works until I set my ArcGIS Online story map to private. When I set it to private, I get the following error message:

An error has occurred Your account () is not licensed to open a Story Map that is not public. Please ask your organization administrator to assign you a user type that includes Story Maps or an add-on Essential Apps license.

The user type is Creator which includes Story Maps. It's noteworthy that the error message doesn't list the account name in the parenthesis (I didn't remove that for this post). This is also an issue with the 1.17.0 release. With the 1.16.0 release, the page partially loads without the error, however images saved with the web application item in ArcGIS Online and stored in the resources directory are not getting proxied and therefore returning a 403 response.

Is there some other configuration I need to change or is this an error with the application or an error with our organization account?

jessemaps commented 4 years ago

I see a similar error reported in the storymap-series repo though that's an issue with portal being behind ArcGIS Online but in this case I'm using ArcGIS Online. @aravindesri you mentioned there that "private stories that are created are being run to check if the user has a User Type that is part of Basic Essential Apps bundle." My user type is Creator which includes essential apps, but seeing as the error message has empty parenthesis where it should note the account, maybe there's an issue determining the user account type?