{"action":"created","issue":{"url":"https://api.github.com/repos/CulturalMe/meteor-slingshot/issues/152","repository_url":"https://api.github.com/repos/CulturalMe/meteor-slingshot","labels_url":"https://api.github.com/repos/CulturalMe/meteor-slingshot/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/CulturalMe/meteor-slingshot/issues/152/comments","events_url":"https://api.github.com/repos/CulturalMe/meteor-slingshot/issues/152/events","html_url":"https://github.com/CulturalMe/meteor-slingshot/issues/152","id":119462134,"number":152,"title":"Google Cloud Storage error: SignatureDoesNotMatch","user":{"login":"Hamatek","id":4042880,"avatar_url":"https://avatars.githubusercontent.com/u/4042880?v=3","gravatar_id":"","url":"https://api.github.com/users/Hamatek","html_url":"https://github.com/Hamatek","followers_url":"https://api.github.com/users/Hamatek/followers","following_url":"https://api.github.com/users/Hamatek/following{/other_user}","gists_url":"https://api.github.com/users/Hamatek/gists{/gist_id}","starred_url":"https://api.github.com/users/Hamatek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hamatek/subscriptions","organizations_url":"https://api.github.com/users/Hamatek/orgs","repos_url":"https://api.github.com/users/Hamatek/repos","events_url":"https://api.github.com/users/Hamatek/events{/privacy}","received_events_url":"https://api.github.com/users/Hamatek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-30T10:20:28Z","updated_at":"2016-03-12T11:43:35Z","closed_at":null,"body":"Error uploading:\r\nThe request signature we calculated does not match the signature you provided. Check your Google secret key and signing method.\r\n\r\nI double checked my GoogleAccessId  and GoogleSecretKey  I even made new one, but none work what  should I do to get google Cloud Storage to work with slingshot ? \r\n\r\n```JavaScript\r\nSlingshot.GoogleCloud.directiveDefault.GoogleSecretKey = Assets.getText('my-images.pem');\r\nSlingshot.fileRestrictions(\"myFileUploads\", {\r\n    allowedFileTypes: [\"image/png\", \"image/jpeg\", \"image/gif\"],\r\n    maxSize: 10 * 1024 * 1024 \r\n});\r\n```  \r\n\r\n```JavaScript\r\nSlingshot.createDirective(\"myFileUploads\", Slingshot.GoogleCloud, {\r\n    bucket: Meteor.settings.GoogleCloudBucket,\r\n    acl: \"public-read\",\r\n    authorize: function () {\r\n        return true;\r\n    },\r\n    key: function (file) {\r\n        return file.name + \"/\" + file.name;\r\n    }\r\n});\r\n```\r\n\r\nand on the client : \r\n```JavaScript\r\nlet uploader = new Slingshot.Upload(\"myFileUploads\");\r\n        uploader.send(document.getElementById('file').files[0], function (error, downloadUrl) {\r\n            if (error) {\r\n                console.error('Error uploading', uploader.xhr.response);\r\n                alert (error);\r\n            }\r\n            else {\r\n                console.log(\"here is the url to see the file:\",downloadUrl);\r\n            }\r\n        });\r\n```"},"comment":{"url":"https://api.github.com/repos/CulturalMe/meteor-slingshot/issues/comments/195724994","html_url":"https://github.com/CulturalMe/meteor-slingshot/issues/152#issuecomment-195724994","issue_url":"https://api.github.com/repos/CulturalMe/meteor-slingshot/issues/152","id":195724994,"user":{"login":"allpratik","id":6484895,"avatar_url":"https://avatars.githubusercontent.com/u/6484895?v=3","gravatar_id":"","url":"https://api.github.com/users/allpratik","html_url":"https://github.com/allpratik","followers_url":"https://api.github.com/users/allpratik/followers","following_url":"https://api.github.com/users/allpratik/following{/other_user}","gists_url":"https://api.github.com/users/allpratik/gists{/gist_id}","starred_url":"https://api.github.com/users/allpratik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allpratik/subscriptions","organizations_url":"https://api.github.com/users/allpratik/orgs","repos_url":"https://api.github.com/users/allpratik/repos","events_url":"https://api.github.com/users/allpratik/events{/privacy}","received_events_url":"https://api.github.com/users/allpratik/received_events","type":"User","site_admin":false},"created_at":"2016-03-12T11:43:35Z","updated_at":"2016-03-12T11:43:35Z","body":"Hey @Hamatek ! \r\nI'm facing same error (code 403). Did you solved this issue? Would like to hear from you. "}}