Skip to main content
Question

Esri Portal Connection for Survey123ReportGetter

  • April 6, 2025
  • 1 reply
  • 23 views

bromp
Contributor
Forum|alt.badge.img+4

Hi there,

I am trying to generate a survey123 report using FME. I have downloaded and added the custom Survey123ReportGeter transformer however I am using a portal connection instead of an AGOL connection:

 


After this step i have the Tester that checks for the submit_response_body beginning with {"jobId" however the flow always fails here. I get an invalid token message in my submit_response_body:

{"error":{"message":"498: Invalid token.","code":498},"success":false}

I am not sure if the request URL needs to be different for portal? or if the token i am providing in my query string parameters is not being read in properly…

Any help would be greatly appreciated.

This is what my transformer looks like:

 

 

bromp
Contributor
Forum|alt.badge.img+4
  • Contributor
  • April 9, 2025

I have successfully got the job to submit using the same endpoint:

https://survey123.arcgis.com/api/featureReport/createReport/submitJob

this returns the jobId # and jobStatus of esriJobSubmitted.

I am also able to access this endpoint:

https://survey123.arcgis.com/api/featureReport/queryJobs

however accessing the endpoint that returns the resultFile which should here here:

https://survey123.arcgis.com/api/featureReport/jobs/@Value(jobId)

is still hitting me with an invalid token. Has anyone managed to configure this for their portal before?

Cheers

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings