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/01502bcc-c17a-408f-8dde-9545a9e7b5cf%40googlegroups.com.