autodesk-forgeforgeautodesk-designautomation

Forge Developer's Guide Prepare Cloud Storage - Issue with uploading a file to signed url


I am following the Design Automation API for Revit Step by Step Tutorial.

I am stuck at the prepare cloud storage - step 3 where I upload a file to the signed url.

I keep getting this error:

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

I copy paste the signed url I get from the response of step 2 so there shouldn't be any issue with signature.


Solution

  • You are doing this on a PUT call and also passing in the Data Binary of the file to be uploaded.