Hi, I'm trying to setup GCS for File Uploads. Add...
# ask-questions
l
Hi, I'm trying to setup GCS for File Uploads. Added env variables, then tried to upload: •
/upload/signed-url-for-upload
returns 200 with 4 keys: signedUrl, fileUrl, filePath, expiresAt • then, request
<https://storage.googleapis.com/$MY_BUCKET/$MY_ORG/$MY_MONTH/$IMAGE?GoogleAccessId=$MY_ACCOUNT&Expires=$MY_EXP&Signature=$MY_SIGNATURE>
fails due to CORS error I tried to execute 2nd request via curl, and it uploaded empty file (it's ok), so the credentials are correct
fixed, it should be changed in GCS console