Hello Friso,  

In a nutshell, it seems like an authentication issue. Are you using any 
browser along with this script call? If yes, I would recommend to make sure 
you logged out from all browsers or clear all cache might help. You can 
also try to switch the bucket to see if it is specifically issue with the 
bucket you are using. I hope it helps.

On Thursday, June 27, 2019 at 10:59:09 PM UTC-4, Friso Kluit wrote:
>
> Using App Engine Python 2.7 Standard
>
> Since about two hours, my operation to create a zip file on GCS is 
> failing. Before this, it was working fine. 
> The following line 
>
> import cloudstorage as gcs
> ...
> with gcs.open(new_zf.gcs_filename, 'w', content_type=b'multipart/x-zip',
>                   options={b'x-goog-acl': b'public-read', 
> b'cache-control': b'private, max-age=0, no-cache'}) as nzf:
>
> triggers this error
>
> <Error><Code>InvalidAuthentication</Code><Message>The provided 
> authentication header is invalid.</Message><Details>Cannot use OAuth 
> Authorization header with form POST.</Details></Error>". Extra info: None.
>
> I have tried to change permissions on my roles on GCS from Storage Legacy 
> Owner to Storage Admin
>
> but I get a 'Sorry, there’s a problem. If you entered information, check 
> it and try again. Otherwise, the problem might clear up on its own, so 
> check back later.'  error
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d124dde7-a7c7-49b5-b589-47f838ba9b07%40googlegroups.com.

Reply via email to