I am running a Python code snippet that uses Youtube API. When I run the code and request authorisation using OAuth, I get the redirect_url_mismatch error.
You can’t sign in because this app sent an invalid request. You can try again later or contact the developer about this issue.
If you are a developer of this app, see [error details](https://accounts.google.com/).
Error 400: redirect_uri_mismatch