Hello there,

Update: Is the 400 Bad Request due to invalid signature? I am using the Sample code provided for Aspose for Salesforce. One more thing. The pdf part to fetch the fields is working and not the words. Any idea?
Hello there,
Hi there,
Thanks for your inquiry.
Sithlord:
I am trying to start off with the Aspose Cloud and am running into a problem. I uploaded the file onto the storage. While doing a GET on the fieldnames, the response seems to be ‘Unknown File Format’ Error.
Sithlord:
For the template, I tried both {{FieldName}}
Hey Tahir,
Hello Tahir,
Hi Sunil,
Thanks for sharing the detail via email.
I have tested the scenario using your appSID and appKey for document SalesOrderTest.docx inside folder ‘00DF00000006R9tMAE’ and have not found any issue. Please check the scenario with SalesOrderTest.docx.
I have not found the document (f5dd4ce5-db14-2efd-2230-fd25c4a7b960.docx) which you are using in your URI.
Sithlord:
Is there any example for salesforce docx/doc upload from salesforce to Aspose?
Hello Tahir,
Hi Sunil,
thanks Tahir. I have attached the corrupted file to the thread.
Hello Tahir,
Hi Sunil,
Hi Sunil,
Please note now Aspose.Words Cloud API Version V4.0 introduced its native Storage API methods, so there is no need to use Aspose.Storage Cloud API anymore.
Furthermore, we have simplified Mail Merge methods as well. We have combined Mail Merge and Mustache template APIs. Now the same API method will be used for both types of templates.
// First get JSON Web Token
// Get App Key and App SID from https://dashboard.aspose.cloud/
curl -v "https://api.aspose.cloud/connect/token" \
-X POST \
-d "grant_type=client_credentials&client_id=[APP_SID]&client_secret=[APP_KEY]" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept: application/json"
//upload file to cloud storage
curl -X PUT "https://api.aspose.cloud/v4.0/words/storage/file/Temp%5CTest.pdf"
-H "accept: application/json"
-H "Authorization: Bearer [Access_Token]"
-H "Content-Type: multipart/form-data"
-H "x-aspose-client: Containerize.Swagger"
-F "fileContent=@C:/Temp/02_pages.pdf"