Select to view content in your preferred language

Custom web tool in Analysis Widget - "passed unknown parameter" warnings

133
2
Tuesday
LauraWaddle_-_FS
Emerging Contributor

@Wei_Ying @Jianxia 

Hello ESRI ExB team!

I created a simple Notebook in ArcGIS Online (Python 3 Standard - 13.0) that includes several input parameters (String data type).

I then published the Notebook as a web tool and added the web tool to the Analysis Widget in Experience Builder.

Finally, I typed in values for the input parameters within the Analysis Widget and ran the tool. I received the below warning for every input parameter that I had provided values for:

Warning: Passed unknown parameter: variablename

Please see screen captures for more info. Any thoughts on what might be happening here?

Thank you so much! - Laura

0 Kudos
2 Replies
Wei_Ying
Esri Regular Contributor

Hi @LauraWaddle_-_FS ,

Sorry that I do not have insights based on those info. Does your notebook script include "variablename" parameter somewhere? 
Have you tried running the same web tool from map view or rest service side? This error seems from service side. I would recommend troubleshoot from the rest service side that is running from the service side directly see if same error returns. 



0 Kudos
LauraWaddle_-_FS
Emerging Contributor

Thank you - I will do more testing! I used variablename as a stand-in for all the different variable names of the parameters that are in the Notebook. For example, one of the input parameters has a variable name of primary_entity_name:

LauraWaddle__FS_0-1780415573164.png

The input parameters were inserted into the Notebook as variables. 

Thanks again and I will continue testing!

0 Kudos