I have a Survey123 feature class containing a related table (repeats) with image attachments. Following this method I was able to get the required URL to show the image in the pop-up.
https://support.esri.com/en-us/knowledge-base/how-to-show-attachments-from-a-related-tablelayer-in-t-000027210
It returns the correct URL minus the token. I I have shared the feature class publicly, but still get an error when trying to view it. As I said I know the URL is correct as I have compared it the actual one for the attachment.
The calculated one ends FeatureServer/1/8/attachments/1 where the actual logged in one ends with FeatureServer/1/8/attachments/1?token=xyz
I get the following error when trying to view the image attachment without a token even though it is shared publicly.
{"error":{"code":404,"message":"Unable to complete operation.","details":["None. This feature has no associated attachments."]}}
Anyone know what the problem might be?
Thanks