Getting Server Rejected error when upload using Google Picker, Oauth2

Give us a little more code, or check the call to gapi.auth.authorize()

  1. Check that you are using the correct scope to obtain the OAuth token.
    • Scope should be
  2. Double-Check the scope declaration:
  3. Check the call to gapi.auth.authorize()

         'client_id': clientId,
         'scope': scope,
         'immediate': false


Without an actual code sample, it is very difficult to say exactly what is going on. Most likely it is the auth token colection. However, it may also be something as simple as not defining a google User (clientID) which in turn impacts the gapi.auth.authorize() call.

Leave a Comment