Skip to content

Query params lost when retrying a request on token expired? #452

Answered by jasonacox
ndlarge asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ndlarge Yes, that does look like a bug. We actually want to pass the entire context to the recursion:

              return self._tuyaplatform(uri, action, post, ver, True, query, content_type)

Thank you!

I'll open an issue. Feel free to submit a PR if you would like, so you can get credit. 😁

One concern: That's a lot of API calls to Tuya Cloud. Are you hitting any rate limits or quotas?

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ndlarge
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants