18-02-25 06:17 PM
Hi Everyone,
I am trying to upload a pdf file using HTTP Request Multipart and I have tried putting the variables in both Headers and FieldMetadata collection separately but I'm getting the 400 error every time.
Can anyone please help me on how I can set it up?
Thanks
Answered! Go to Answer.
24-02-25 01:13 PM
I corrected the FieldMetaData collection and now getting this - Internal : Could not execute code stage because exception thrown by code stage: The 'accept' header must be modified using the appropriate property or method.
Parameter name: name
24-02-25 01:17 PM
24-02-25 01:24 PM
@Mohamad_Dakkouri , same error but this time for the other column
Internal : Could not execute code stage because exception thrown by code stage: The 'Content-Type' header must be modified using the appropriate property or method.
Parameter name: name
24-02-25 01:24 PM
Ok remove headers from the input parameters
24-02-25 01:25 PM
24-02-25 01:27 PM
@Mohamad_Dakkouri , Thank you so much for your help. It worked!
24-02-25 01:29 PM
For real ???!!!
24-02-25 01:29 PM
Please mark me as best answer @arjunraj
24-02-25 01:30 PM
Yup, couldn't believe it for the first time myself but then I tried again and its working!