Select to view content in your preferred language

'Survey' object has no attribute '_stk_url'

133
2
Jump to solution
11-01-2024 08:01 AM
MattLayman
Occasional Contributor

I have a python script that generates word documents from responses to a Survey123 survey that is run by a user that is not the owner of the form. This script worked just fine until we upgraded to ArcGIS Pro 3.3, and now we get the error in the title of this post whenever someone other than the owner of the form runs the script. I have tried creating a shared update group and sharing ownership of the form to members in that group, but that doesn't seem to work either. There's another thread with this same issue- ERROR: 'Survey' object has no attribute '_stk_url'

0 Kudos
1 Solution

Accepted Solutions
MattLayman
Occasional Contributor

Zach- sorry for not getting back to you on this thread, and thank you for your response here.

I will be submitting a bug report sometime this week.

View solution in original post

0 Kudos
2 Replies
ZacharySutherby
Esri Regular Contributor

Hey @MattLayman

In the Survey123 website under the Collaborate tab > Share results, are the results of the survey shared with the user trying to run the script? 

The method is trying to use the _results view to pass into the Survey123 report engine. Does the user running the script have access to the _results view? 

 

 

Thank you,
Zach
0 Kudos
MattLayman
Occasional Contributor

Zach- sorry for not getting back to you on this thread, and thank you for your response here.

I will be submitting a bug report sometime this week.

0 Kudos