Field Maps module in Make (formerly Integromat)

868
5
03-02-2023 08:37 AM
DEI
by
Occasional Contributor

Hello,

Make (formerly Integromat) scenario with ArcGIS Field Maps module was working fine yesterday, today I keep getting "The operation failed with an error. Body is not a valid JSON. Unexpected token in JSON at position 0". Haven't made any changes to the scenario since it was set up. I tried reauthorizing the connection but that didn't help. Anyone have similar issues? Any thoughts on how to resolve while retaining queued data? 

0 Kudos
5 Replies
JustinColville
Esri Contributor

Hello,

In Make, under the Webhooks section you can look at the Logs tab and see details about each time the hook was triggered (similar to the images below).  What does the Body of the requests that are failing look like?

 

image001.pngimage002.png

 

Regards,

Justin 

0 Kudos
DEI
by
Occasional Contributor

Thanks @JustinColville ,

The logs under the Webhook section display 'Success' under Status.

DEI_1-1677782093445.png

 

DEI_0-1677781980097.png

but in the Scenario, it shows the error.

DEI_2-1677782187405.png

DEI_3-1677782244292.png

0 Kudos
DEI
by
Occasional Contributor

Something I noticed - I have 2 connections running similar scenarios. One connection is ...services3.arcgis.com (this is the one related to the issue) and the second is ...services6.arcgis.com which is running fine as of now (knock on wood).

0 Kudos
JustinColville
Esri Contributor

Thank-you for sending the additional info.

If you setup a new webhook for the same service does it work correctly?

Are you able to run an extractChanges REST API call in a browser similar to changeURL in the Body of the 9:52am webhook?  Does that complete successfully and return valid JSON?

0 Kudos
DEI
by
Occasional Contributor

At some point within the last hour or so everything automagically started running again. Bizarre but appears all good now. However, I have no explanation for the behavior.

Thanks for your time @JustinColville !

0 Kudos