Skip to content

why I recieved 401 error??? #757

Answered by jshcodes
NSH531 asked this question in Q&A
Discussion options

You must be logged in to vote

A 401 is typically an authentication error. Confirm your keys are valid.

It also appears as if the rule variable that you are passing for the assignment_rule attribute is not defined.

Side note: You are importing the Uber class multiple times inside of a function. You should move this import to the top of this file and outside of the push_g method.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jshcodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
python Pull requests that update Python code or general Python related questions uber Questions related to Uber Class usage API usage General API usage issues and questions hosts Hosts or Host Groups issues and questions SDK usage General SDK usage issues and questions
2 participants