Start a new topic

Not able to upload file into kinvey

I am trying to upload image into kinvey but i am not able to do it as i am getting error"SignatureDoesNotMatch".


In rest i am hitting the upload url with the required header, but i am not able to upload the file into kinvey.The data i am putting as a binary.

Please find the error got by me.

<?xml version='1.0' encoding='UTF-8'?>

<Error>

    <Code>SignatureDoesNotMatch</Code>

    <Message>The request signature we calculated does not match the signature you provided. Check your Google secret key and signing method.</Message>

    <StringToSign>PUT


image/png

1470153632

x-goog-acl:public-read

/57c38660adc04b41aaeacfa651d690c0/203824f7-5081-4669-a809-368afdd1cf48/1B5zAgf.png</StringToSign>

</Error>


thanks,

uploading.png
(81.5 KB)

Hi,


Can you tell me all the steps that you are taking and the input/output at each steps?



Regards,

Wani

Kinvey Support

Hi,


Can you please share your app id (kid_xxxx)?


Also, are you able to do the first part of the upload process successfully? Are you getting successful response from Kinvey?



Regards,

Wani

Kinvey Support

I am able to do the first part of the upload process successfully.Then i Get the upload url in the response.The problem is i am not able to upload image into the upload url,Might be i am missing some additional parameters.My App key is "kid_SyPxwgbI".

Hi,


If you are getting 201 success code back from Kinvey, then it seems to be an issue with the request going to GCS servers.


Have you gone through their documentation: https://cloud.google.com/storage/docs/xml-api/put-object-upload ?



Regards,

Wani

Login or Signup to post a comment