I am testing a workflow where I use the "When a record is deleted from a feature layer" trigger and then use the "Fetch updates, changes, or deletions from feature layer" action and receive the error: "Cannot read property 'headers' of undefined" when the Fetch action runs.
Layer is a hosted feature layer in ArcGIS Online and has the requisite track changes settings.
I have seen this issue occur before and disabling and then re-enabling editing on the hosted feature layer resolved the issue. Haven't quite worked out why the issue occurs though.
@KevinMantels - interesting that it is not there. Log it with Power BI, it is the same team that supports Power Automate.
@SeanKMcGinnis, thanks for the suggestion and sorry for the delayed response. Is there a particular place I should submit a ticket? I went to the "Request Case" page and reviewed most of the product category and subcategory options but there doesn't appear to be an option for Power Automate. I just want to make sure I submit my ticket to the right place.
Request Case Options
@GIS_Admin & @KevinMantels - my suggestion would be to submit a support ticket so they can help identify the source of the issue. When those tickets are created, could you email me at smcginnis@esri.com so I can follow along to help them and try and understand the source of the issue?
@SeanKMcGinnis I attached screen shots as a part of this original post. Do you need something else?
@KevinMantels & @GIS_Admin,
I just tested it with a create and update triggers and was not able to recreate the error you are encountering. Could you share a screen shot or an export of the flow you are having the issue with?
Ok, good to know. That throws my theory out the window. I'll keep trying other things...
Just created a new HFL in AGOL and it didn't have attachments enabled by default. I attempted the same workflow as I originally posted and got the same error result.
I could be wrong, but don't all hosted feature layers created in ArcGIS Online have attachments enabled by default? If that is true, then isn't the attachment layer treated as a relationship class?
Per suggestion from @DominicRobergeIADOT I will try testing on a hosted feature layer without attachments enabled and see if it makes a difference.
Thanks @SeanKMcGinnis, it's a head scratcher.
@DominicRobergeIADOT There were no relationships in the HFL I was trying to use. It was a HFL created entirely through ArcGIS Online. I was just trying to demo the workflow, haven't graduated to business data yet.
Hello
I started playing with the ArcGIS connector as well and kept getting the same error as listed in the original message. I was using a Hosted Feature Layer with a relationship class (was published from a FGDB).
Then I tested the same workflow with a HFL published from FGDB but no relationship and it worked.
Could it be the problem?
Hi @GIS_Admin & @KevinMantels - I will dig into the issue you are facing and see if I can figure out what might be causing it.
To expand on your conversation around the difference between the government tenants (GCC) and the generally available tenant - it takes longer for the products to be certified by Microsoft for them to be promoted into the GCC environments. That might be why you have seen them out of sync, but I do not believe that to be the case in this scenario.
@KevinMantels I do work in government (City) and I am using the "gov" version of Power Automate. I have also noticed the differences between the "public" and "gov" Power Automate. For example, the templates Esri provides are only for the "public" and not found within the "gov" version.
@GIS_Admin, I've been struggling with the same error message as well. I've been troubleshooting for a week or two with attempts at various workarounds but no luck on my end either.
Just curious-- are you a government entity? I'm only asking because we are, and I have found that the version of Power Automate that Microsoft makes available to government is different than the version for private industry. This difference has occasionally seemed to cause issues with some of my integrations, and so I'm wondering if that could be contributing to this situation. Until your post today, I was unaware of anyone else having the same issue, and multiple online searches have returned very few results that were relevant specifically to ArcGIS for Power Automate.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.