Hello Chris. I tried following the tutorial's instructions and did not encounter any issues following the instructions. I was able to reproduce the invalid_client error by supplying an incorrect client id or client secret.
You say you had errors uploading files even before un-commenting the "OAuthConfig" line. The uploading and viewing of files worked properly for me without authentication in place. You might want to double-check that the bucket and client ID you are using belong to the same GCP project that you are logged in to on your machine or deploying to. On Tuesday, June 20, 2017 at 11:12:07 PM UTC-4, Chris Lewis wrote: > > could not parse book from form: could not upload file: Post > https://www.googleapis.com/upload/storage/v1/b/statrecruit-application/o?alt=json&projection=full&uploadType=multipart: > oauth2: cannot fetch token: 401 Unauthorized > Response: { > "error" : "invalid_client", > "error_description" : "The OAuth client was not found." > } > > > On Tuesday, June 20, 2017 at 4:31:51 PM UTC-7, Chris Lewis wrote: >> >> https://cloud.google.com/go/getting-started/tutorial-app >> >> I am attempting to follow this tutorial and have been unable to get the >> storage and OAuth2 portions working. I continually receive a 401 >> Unauthorized response when attempting to upload a file or login. >> >> Then, I add my Client ID and Secret and I get a "can't find client id" >> error. >> >> Any idease? >> > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/82ef2c80-fa76-419a-860c-8de759201078%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
