Value can't be casted as buffer for parameter 'data'

Hello! I am trying to upload a PDF file from a webhook and send it to an API using “Multipart/form-data” body type. I am getting an error and am unsure why. I am very new to make so maybe i’m just not understanding it correctly. Any help is appreciated, thanks!


Hi @Parker_McKean

Welcome to community!

Please check the file data ({{1.file}}) format to confirm that it matches the data format accepted by the API call as it comes from the webhook.

If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support
Visit us here
Youtube Channel

Its a pdf file, confirmed it. Still isnt working

@Parker_McKean

Please check if the data is in buffer format. If not, please download the file and map it to HTTP.

If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support
Visit us here
Youtube Channel