AnsweredAssumed Answered

Python code question

Question asked by ljohnson40 on Jul 14, 2017
Latest reply on Jul 17, 2017 by AMuise-esristaff

Hello, i downloaded a python code that is intended to send email notification to me when a feature has been added to a layer. I'm a novice when it comes to codes and coding and keep getting stuck. To clarify a little further i saw a document (link here) that i am attempting to implement. I downloaded the code and tried for awhile trying to get it to work but unfortunately i haven't had any luck. The error i keep receiving is "Cannot perform query. Invalid query parameters.
Unable to perform query. Please check your parameters.
No where clause specified.
(Error Code: 400)" ....I think it has something with the way i am querying the information but not sure. I marked out all of the username and passwords but if anyone had any suggestions on how i might get the enclosed file to start working it would be greatly appreciated. 


To add on i'm using python 3.5.3