cancel
Showing results for 
Search instead for 
Did you mean: 

How to set HTTP Request Multipart

arjunraj
Level 4

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

arjunraj_0-1739902639250.png

 

28 REPLIES 28

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

@Mohamad_747 

@arjunraj can you remove from headers only the accept column 

Mohamad_747_0-1740403060093.png

 

@Mohamad_747 ,  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

Ok remove headers from the input parameters 

@Mohamad_747 , Thank you so much for your help. It worked!

For real ???!!!

Please mark me as best answer @arjunraj 

Yup, couldn't believe it for the first time myself but then I tried again and its working!