You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. Ive been tearing my hair out over this for hours and have finally conceded that it may be a bug as there was someone 5 years ago (#203) with a similar issue on here that turned out to be a bug. The parameters are all fine, and i even tried with the other grant type offered by netatmo but it always returns to the same error of invalid client_id parameter value.
{"reason":"Invalid request : Redirect URI mismatch.","error":"invalid_request"}
but this bubbled up through requests-oauthlib as oauthlib.oauth2.rfc6749.errors.InvalidClientIdError: (invalid_request) Invalid client_id parameter value.
My 2 cents.
Check passinginclude_client_id=True in the fetch_token call.
There is some logic being triggered if you don't set that flag and when not passing the argument auth explicitly. It will create an requests.auth.HTTPBasicAuth(client_id, client_secret) for you and send it in the request.
Hello. Ive been tearing my hair out over this for hours and have finally conceded that it may be a bug as there was someone 5 years ago (#203) with a similar issue on here that turned out to be a bug. The parameters are all fine, and i even tried with the other grant type offered by netatmo but it always returns to the same error of invalid client_id parameter value.
Please help!
The text was updated successfully, but these errors were encountered: