[Python] Request had insufficient authentication scopes. Google API

Discussão em 'Python' iniciado por Stack, Junho 24, 2025.

  1. Stack

    Stack Membro Participativo

    Fetching first 10 media items...
    Traceback (most recent call last):
    File "gphotos_connectfetchtest.py", line 43, in <module>
    list_media_items()
    File "gphotos_connectfetchtest.py", line 31, in list_media_items
    results = service.mediaItems().list(pageSize=10).execute()
    File "D:\Program Files\Python\Python38\lib\site-packages\googleapiclient\_help
    ers.py", line 130, in positional_wrapper
    return wrapped(*args, **kwargs)
    File "D:\Program Files\Python\Python38\lib\site-packages\googleapiclient\http.
    py", line 938, in execute
    raise HttpError(resp, content, uri=self.uri)
    googleapiclient.errors.HttpError: <HttpError 403 when requesting https://photosl
    ibrary.googleapis.com/v1/mediaItems?pageSize=10&alt=json returned "Request had i
    nsufficient authentication scopes.". Details: "Request had insufficient authenti
    cation scopes.">


    Not even GPT could help me on this, for the past 15 promts we are running around circles around same steps over and over and over again.

    How and where can i contact google helpdesk on this? Maybe is something with my account, maybe i need some extra hoops i need to jump thru to finally solve this .. i don't know ....

    Continue reading...

Compartilhe esta Página