Select to view content in your preferred language

Get Attachment action returning 404 for valid feature attachments

262
2
06-16-2026 04:53 AM
Jean-PhilippeLabrecque
New Contributor

Hello,

I am experiencing an issue with the ArcGIS connector in Power Automate that appears to have started recently.

I have a flow that has been working successfully for several months. The flow retrieves records from a hosted feature layer and then uses the Get Attachment action to download the associated photo attachment. The downloaded image is subsequently processed by the EXIF action to extract GPS metadata.

Current configuration of the Get Attachment action:

  • Object ID = OBJECTID
  • Attachment ID = OBJECTID

This configuration worked previously without any issues.

Recently, the flow started failing. The Get Attachment action returns the following response:

{

  "error": {

    "code": 404,

    "message": "Unable to complete operation.",

    "details": [

      "None. This feature has no associated attachments."

    ]

  }

}

The subsequent EXIF action then fails with:

DataView: Passed buffer type is unsupported.

However, I have confirmed that:

  • The feature exists.
  • The feature has a photo attachment in ArcGIS Online.
  • The flow has been running successfully with the same configuration since last year.
  • The issue appeared recently.
  • The ArcGIS connector version reported by Power Automate is:
    ArcGIS 2026.2.0 (2026.05.13)

I am wondering whether there has been a recent change in the ArcGIS Power Automate connector regarding the Get Attachment action.

Specifically:

  • Does the Attachment ID parameter now require the actual attachment ID instead of the feature OBJECTID?
  • Has there been a recent change or known issue affecting Get Attachment in connector version 2026.2.0?

Any guidance would be greatly appreciated.

Thank you.

-Jepp Vandal

0 Kudos
2 Replies
AkshayHarshe
Esri Regular Contributor

@Jean-PhilippeLabrecque Get attachment action has not changed in a while, and always needed an attachmentID which is different than the objectID.

Is it possible that you luckily had the same attachment id as the object id? Maybe new attachment was added to the feature and the old attachment was deleted instead of being replaced causing the failure.

If you want to dynamically get the attachment ID using the attachment name, I recommend you to use Query attachment action and then use get attachment or get attachment from URL using the attachment ID/url returned from it. If your feature has multiple attachment then you may need to filter them out using Filter array then dynamically get the attachment using get attachment action.

AkshayHarshe_0-1781639286196.pngAkshayHarshe_1-1781639311388.png

*Note that I removed the get attachment out of the For Each loop and added a formula to get the 1st item's 'id' in the filter array

Thanks,
Akshay Harshe
0 Kudos
AkshayHarshe
Esri Regular Contributor

@Jean-PhilippeLabrecque Circling back, if this was resolved?

Thanks,
Akshay Harshe
0 Kudos