Google Drive API Quickstart.py Error 400: redirect_uri_mismatch

Viewed 2148

I'm using the https://developers.google.com/drive/api/v3/quickstart/python to access the Google Drive Api but Google keeps throwing redirect_uri_mismatch errors.

I add the localhost:number from the error to the Authorised redirect URIs in the client ID for the Web Application, but whenever I run the quickstart.py, the local host number changes.

I see there are loads of questions regarding this matter on StackOverflow and I've already spent hours looking to fix mine but I haven't found an answer that seems to solve it for me.

Any ideas?


Tried answers from, amongst others,


Currently

enter image description here

1 Answers
Related