Skip to main content

This is my try to pass formdata in body of requset template.


I am getting this error:

ADD FILE TO UPDATE ERROR DataCloneError: Failed to execute 'postMessage' on 'MessagePort': FormData object could not be cloned.

this is my template definition:
 

 

Hey @panksi - I believe you have a Freshdesk question as per your tag. It was posted under the Freshsales forum - I have moved it for you. @mahendarsingh @hemanth.ramya - can you help here?


Hi Panksi,

I hope you are doing well :)

I understand that you are facing issues with request templates

To use the request method,

  1. As part of the app configuration, configure request templates.
  2. In manifest.json, declare the template(s) that the app code uses.
  3. From the app logic, invoke the configured template(s), and make HTTP requests to third-party domains.
  4. Please refer to this article for additional details https://developers.freshworks.com/docs/guides/solve-cors-errors/how-to-make-api-with-request-method/

Feel free to respond to this thread for any queries :)

Thank you


Reply