‎20-10-22 12:15 PM
Dear community,
I'm try to upload a document in a third party API.
My problem is, that I get these error when I try to send the request out of Blue Prism.
In Postman I'm able to upload the file with a PATCH request.
This is how I build the request in Postman:
And these are my settings in Blue Prism:
I load the file in a binary data item with ‚LoadBinaryFile([Pfad Anhang])'.
I've tried to use the body content ‚single file' as in the bpdocs suggested. But the API needs the field ‚meta', so I have to set the body contet as template.
I also found out that if I leave the data item fort he file empty, the request is succesful. But of course no file is uploaded.
Can somebody help me with that issue?
Thanks a lot
Michael
Answered! Go to Answer.
‎08-11-22 05:35 AM
‎20-10-22 03:19 PM
‎20-10-22 03:34 PM
‎03-11-22 12:11 PM
Hi @Eric Wilson,
thanks for your advice with Fiddler. By analyzing the submissions I found out that one problem was with the boundary. Now I put in the boundary via parameters and not the request works without an error. Unfortunately the file is still not uploaded.
Here are my analysis oft he submissions.
It seems to me, that the file contend in the BluePrism submission isn't shown or translated correct. Could this be what you've mentioned about the Base64 encoding? If yes, how I can encode the file?
Thanks for your help and best regards
Michael
‎03-11-22 01:47 PM
‎07-11-22 01:29 PM
‎07-11-22 03:18 PM
‎08-11-22 05:35 AM
‎08-11-22 04:03 PM
‎08-11-22 04:06 PM