cancel
Showing results for 
Search instead for 
Did you mean: 

Web API multi form body

omkarinamake12
Level 3

I have to consume an API for multi form body. I am using http request multipart with file metadata and fieldmeta collections but getting 403 error

Please refer below picSAVE_20250123_184556 (1).jpg

16 REPLIES 16

Hi @omkarinamake12 

In fact we need more informations to help you.

Can you use postman for example to execute your api ?

If yes can you send us a screenshot with the parameters that you put in postman and then we can make the same template with Blue Prism 

omkarinamake12
Level 3

Hi @Mohamad_747 

Thank you for the help. 

Please refer postman request details, header is bearer tokenIMG_20250124_124409 (1).jpg

 

File type is excel

Hi @omkarinamake12 , 

please download this VBO for multipartform 

https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---http

use this action below : 

Mohamad_747_0-1737740377659.png

then here add these parameters : 

Mohamad_747_1-1737740408900.png

for FileMetaData and FieldMetaData provide this : 

Mohamad_747_2-1737740458119.png

Content Type = application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

try it and let us know

Hi @Mohamad_747 

Thank you for help. 

However I am getting status code 403

Error as request unsuccessful. Incapsula Incident Id

Can i see the headers ?

You can put a Bold Line on confidential informations 

omkarinamake12
Level 3

Header is only authorisation token, IMG_20250128_131738 (1).jpg

 

@omkarinamake12 

You mean the authorization is the same bearer token ?

If yes try to remove from the input parameters the bearer token and try it.

omkarinamake12
Level 3

Yes, I have tried but getting same 403 error