Új hozzászólás Aktív témák

  • Keem1

    veterán

    Srácok, Google API-ban valaki otthon van?
    A Keep apihoz szeretnék segítséget.

    Kód

    Futtatáskor böngészőből bejön a consent screen, leokézom, majd a következő exception fogad:

    Google API Sample
    ====================
    https://www.googleapis.com/auth/userinfo.email
    https://www.googleapis.com/auth/keep.readonly
    Unhandled exception. The service keep has thrown an exception.
    HttpStatusCode is Forbidden.
    Google.Apis.Requests.RequestError
    Request had insufficient authentication scopes. [403]
    Errors [
    Message[Insufficient Permission] Location[ - ] Reason[insufficientPermissions] Domain[global]
    ]
    Google.GoogleApiException: The service keep has thrown an exception. HttpStatusCode is Forbidden. Request had insufficient authentication scopes.
    at Google.Apis.Requests.ClientServiceRequest`1.ParseResponse(HttpResponseMessage response)
    at Google.Apis.Requests.ClientServiceRequest`1.Execute()
    at Testing.Program.Main(String[] args) in C:\Users\blahh\Visual Studio\ConsoleTest\Testing\Program.cs:line 46

    Ha minden igaz, akkor insufficient scope az oka. Ami azért érthetetlen, mivel elvileg két scope kell neki e szerint, de mégse elég.

    Valakinek van esetleg ötlete? :U :R

Új hozzászólás Aktív témák