Select to view content in your preferred language

Experience Builder 1.15 Analysis widget 403 error on web map layer

63
2
Monday
DavidMGiannone
Emerging Contributor

Hi All,

I have created an experience builder application in developer 1.15 (due to a custom widget I am using for another purpose) for deployment to internal web application servers.  I have added the Analysis widget to my app, configured it to use a Custom Web Tool utility service in our enterprise environment.  The Map associated to the widget is a web map with one polygon feature layer.  When I run the app in developer version locally, I am able to select this feature layer as the Area of Interest.  However, when I deploy the app to our web servers, the analysis widget displays "The map contains no compatible layers..." when the Area of Interest Layer button is selected.  In devtools, I can see that the widget is trying to access the layer through proxy and receives a 403 forbidden.

I am told the service it is trying to access is an open service and should not be requiring authentication.  Any ideas?

https://xyzxy.maps.arcgis.com/sharing/proxy?https://xyzxyz.xyzxy.com/arcgis/rest/services/Enterprise...

 

DavidMGiannone_0-1738015893630.png

DavidMGiannone_1-1738016117257.png

 

Tags (2)
0 Kudos
2 Replies
JeffreyThompson2
MVP Regular Contributor

https://developers.arcgis.com/experience-builder/guide/deployment-topics/#deploy-the-experience

Have you created a Client ID on your Portal and added the App ID to the config.json?

GIS Developer
City of Arlington, Texas
0 Kudos
DavidMGiannone
Emerging Contributor

Yes, I have the portalUrl and the clientId under the 'attributes' in the config.json.  We are using the same id that is used as the appId for the same portal in the WAB version of this application. 

0 Kudos