Skip to content

Google Drive auth2 error: field missing:refresh token聽#198

Open

Description

@hagemouse

when I run the test sample at:

https://github.com/googleworkspace/python-samples/blob/master/drive/quickstart/quickstart.py

I need to re-auth every time, after I retried and get an error of "field missing:refresh token".

So what's the problem?
Anyone can help?

Thank you very much.

Activity

  1. Safaid-Ansari commented on Mar 20, 2023

    @Safaid-Ansari

    try this in the form-data body
    grant_type=authorization_code
    code="something",
    client_id = "something",
    secret_Key = ""something
    redirect_uri='something'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions