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