Query attachments on hosted feature service in Portal returns strange error

1510
2
03-25-2020 01:32 PM
HasheenDeBerry
New Contributor III

Greetings Everyone!

I seem to be running into a peculiar issue with my Portal for ArcGIS installation.  I created some hosted feature services programmatically using the REST API.  I am able to add and remove features from the service.  When I add attachments to the objects, I get a positive response.  When I view the data for a layer, the Photos and Files column shows 0 items.  If I click on the Add link, all the attachments I was expecting to appear are in the list.  I use the Query Attachments REST endpoint to query the attachments on a layer and I get "Error performing queryAttachments operation" message no matter what I input into the fields, even if it's a known attachmentID or globalID.

What really makes me think this is a bug is the following errors in my admin logs:

TypeMessageTimeTargetMachineUserCodeTime ElapsedProcessThreadMethod NameRequest ID
SEVERE
Error performing queryAttachments operation operation not implemented yet. "layers/0: queryAttachments"
2020-03-25T15:12:51Restmygismachine90001122812f335940-db29-466c-90a5-bf9aa8850a1f

I am running ArcGIS Enterprise 10.7.1 with my Portal federated to it.  I don't have any external authentication set up like Active Directory or SAML.  I have ArcGIS Data Store set up and it appears that my AGS server can talk to it.  I doubt I'd be able to store feature service data without it.  Anyone out there experience this, or have a workaround?  Any help is greatly appreciated.

Stay safe,

Hasheen

2 Replies
CoreyLunty1
New Contributor III

We seem to be experiencing this here as well.

JoeCatanzarita1
Occasional Contributor II

Hi Hasheen DeBerry,

I was looking for information regarding this error message and found some information:

Looking through some Support tickets, I can see others encountered this exact error message while at version 10.7.1. Upgrading to 10.8 resolved the issue, the error message stopped appearing and the functionality works as expected. 

Hope this helps!

Joe

0 Kudos