SURVEY123 API ERROR

661
1
04-11-2019 09:51 AM
JAVIERVARA_SANZ
Occasional Contributor II

Good morning.

 

I'm working on a python task that will use Survey123 API to generate a report, but keep obtaining the following error. 


File "C:\Users\...\AGOLPRO\lib\site-packages\arcgis\apps\survey123\_survey.py", line 227, in generate_report

    "featureLayerUrl" : self._ssi.layers[0]._url.replace("_fieldworker", ""), AttributeError: 'NoneType' object has no attribute 'layers'

FYI, I'm pointing to a Survey that has specifically been designed to only review data (not editable).

Any advise will be highly appreciated.

Thanks.

Javier

0 Kudos
1 Reply
by Anonymous User
Not applicable

Hi Javier,

Are you using the Feature Report API as documented in Survey123 EAC site: https://earlyadopter.esri.com/project/article/item.html?cap=e69ef91f45744b98882c651f7b518eb7&arttype...

If so this is a beta feature currently and you should raise any issues related to this in the EAC forum.

Phil.

0 Kudos