cancel
Showing results for 
Search instead for 
Did you mean: 

How to set HTTP Request Multipart

arjunraj
Level 2

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

 

6 REPLIES 6

Hi @arjunraj 

To answer you, i need more details 

First are you using the last version of this VBO 

https://digitalexchange.blueprism.com/cardDetails?id=115162

Second can you try to execute your api on postman then send us a screen shot and we can reproduce the same template of postman on Blue prism 

 

Waiting tour answer regards 

arjunraj_1-1739915390752.pngarjunraj_2-1739915523318.png

This is a successful execution on the WebAPI

plnarayana777
Level 7

Hi @arjunraj 

Please try with fieldmetadata as empty collection, provide contentType in Filemetadata collection

Regards

Regards

@arjunraj 

Try this please. With last version that i have mentionned, provide this inputs : 

Mohamad_747_0-1739945289112.png

Mohamad_747_1-1739945439515.png

 

Generat output 

Mohamad_747_2-1739945525730.png

 

try it and let me know.

if its fail remove DocumentAttributesJsonString from FieldMetaData and run it again.

if its still failong remove from the inputs parameters the collection FieldMetaData.

 

Let me know

 

arjunraj_0-1739949121241.png

FieldMetadata is throwing this error for both the columns. So, I removed FieldMetadata and added those columns to Headers collection but I'm still getting another error shown below -

arjunraj_1-1739949296145.png