Skip to main content
Participant
March 28, 2023
Answered

Getting error on uploading an asset with mediaType set to either 'application/docx' or 'docx'

  • March 28, 2023
  • 1 reply
  • 825 views

when I am trying to upload an asset in step 2 of document generation , I am getting error

{"error":{"code":"Bad Request","message":"The request is missing required parameters, or the values are incorrect."}}. It works perfectly only with 'application/pdf' but I need to upload 'docx' file for template.

 

How can I upload the word template in the "process of document generation using the word template and json input data for tempalte"?

 

 

Thanks,

This topic has been closed for replies.
Correct answer Raymond Camden

Can you share the code showing the asset upload? Also, I believe the right type is 

application/vnd.openxmlformats-officedocument.wordprocessingml.document

1 reply

Raymond Camden
Community Manager
Raymond CamdenCommunity ManagerCorrect answer
Community Manager
March 29, 2023

Can you share the code showing the asset upload? Also, I believe the right type is 

application/vnd.openxmlformats-officedocument.wordprocessingml.document