Iam passing below request using through post method http request activity its giving me error.
Can some one help me
I guess you are passing it in string in payload, which should work (PFB)
Also please make sure you also align to the API documentation like passing the right payload parameters
If the error is not resolved, please post the screenshot of API documentation for that particular endpoint. This may help.
I think you can try this way, put the json body in text file and using read text file activity read the text file and then store the result in string variable, then put the string variable in the http request json body parameters.
Hope it helps
Above both ways are not working
Could you please show the documentation screenshot of the API end point you are trying to access from UiPath ?
checking your json format is not in correct format it seems
may i know one thing, what u are replacing there in the two assign activity?
Iam replacing instance id and activity id which i get from db
I dont have API documentaion. only in pdd its mentioned.
Okay are you adding double quotes to the Id’s explicitly
"""" + your_id_var + """"
Yes iam replacing with variable.
output it gives me instance id=Sucess
Okay could you please debug the code and send a snap on the payload value after replacing your id’s
Only change I can see is
none param. Could you please verify that once or just try with Retry once to check API retry is successful.
It will help us debug.
I Have only one data to skip. This is working in post man not working in uipath.
Okay then please copy this entire body and paste it in notepad.
Please, Read it from notepad in UiPath.
Don’t use any dynamic variables for now, just to make sure it works
Also, are you passing the below things right…
- Headers if any
- HTTP method (POST or anyother)
Could you please check these…
I checked like above api result is coming null.
Could you please show me the entire success request in postman ?
you may blur the credentials if any but please show the entire request