-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
500 error when trying to upload from Meteor using slingshot package #70
Comments
It is being denied by google, not by slingshot. Please click on the POST request in your browsers dev tools to inspect the XML response that you get from google. It should contain more details about why it is being rejected. |
This is the XML Response ABCemsqA/49FPwB5u877Jt1vyodMFYvQo+Nxba9L+54t4n31W5StGcfiL1/DfhrzuGEfhi63U6j3 5WYQxoYPL5T9xNaFkuX9Hg... |
This is what the header returns
|
Clearly a Google Cloud Storage issue. |
Ok I keep looking into my bucket setup I guess. |
Turns out I was using the wrong GoogleAccessId I was using the Google Cloud Storage ID when what ended up working was the email address in the client id section under api credentials seen here https://cloud.google.com/storage/docs/authentication |
I have a javascript file in the server side that looks like this
I have this on my client side
I have this in my lib folder
and in /private folder I have a google-cloud-service-key.pem file that I converted after downloading from google cloud.
I get this error when choosing a image in the file upload input
I must be doing something wrong, google says a 500 error in google cloud is a internal server error, but I must be doing something wrong, I highly doubt it is on googles end. I am also testing off of localhost if that might be it.
Thanks in Advance for any help.
After log the error in the console, this is what I get
https://i.stack.imgur.com/pffI4.png
The text was updated successfully, but these errors were encountered: