Attachment Forbidden
I am trying to add photo attachments to a feature layer either from taking a picture on my ipad OR uploading a current picture from my desktop.
I am getting the followin error: File attachement. Forbidden
I am using the HTML 5 viewer.
Any thoughts?
Chris
0
-
Hi Chris, did you happen to find a solution? I am receiving a similar error. 0 -
What versions are you using?
Also, do you have your services URL in the proxy.config?0 -
I am using Essentials 4.4.3 and Viewer for HTML5 2.5.1.
And, yes, I double checked and my services URL is in the proxy.config.0 -
We had issues using earlier versions, but adding attachments works fine for us now.
What does Fiddler show is happening when you try to add the attachments? Can you add attachments using the featureservice in ArcGIS Online?0 -
For what it’s worth. I had this exact same issue from an Android tablet. The only way I could fix it was to remove the proxy URI information. I found the solution on a different post. Unfortunately, it’s been so long I do not remember who posted it.
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907600000004GR0&feoid=Body&refid=0EM600000004YD8" _/_img_0 -
Hi,
If you are getting a "File attachment failed. Forbidden" error when trying to add attachments to a feature in the HTML5 viewer, then please go to your proxy.config file located in the wwwroot folder and add the feature layer URL to the list of URLs. Make sure you include the layer ID to the end of the URL as well so it should look something like this:<serverUrl url="http://domain.com:6080/arcgis/rest/services/LayerName/FeatureServer/0" matchAll="true"></serverUrl>That should fix the issue.
I hope this helps.
Carmen0
Please sign in to leave a comment.
Comments
6 comments