a week ago
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.
Monday
@arjunraj i was not able to go on this website https://pwdevwsg.cmsenergy.com/ConsumersEnergyPWWebAPI/api/FileUploadUrn maybe i need access. BTW try this please and let me know :
a week ago
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
a week ago
This is a successful execution on the WebAPI
a week ago
Hi @arjunraj
Please try with fieldmetadata as empty collection, provide contentType in Filemetadata collection
Regards
Regards
a week ago
Try this please. With last version that i have mentionned, provide this inputs :
Generat output
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
a week ago
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 -
a week ago - last edited a week ago
Hi @arjunraj ,
please refer KB article.(sign in as customer)
Sunday
Hi @Athiban_Mahamathi ,
the article suggests using either Web Services REST (which I'm unable to download from the exchange) or utility http request multipart which I'm already trying but unable to execute.
I have the screenshots attached of a successful call to the web API which shows the parameters being used in the call, which I did try to replicate as suggested by @Mohamad_747 but still I'm getting errors which are also attached above.
Not sure how to resolve it, please help
Sunday
@arjunraj hi,
I acknowledge that the ideal approach would be to replicate your request in Postman. I'm more accustomed to using Postman templates rather than Swagger.
Sunday - last edited Sunday
Am pretty sure that with the utility http - action multipart request we can execute your api.
I think we miss a little parameters and then it will be done