cancel
Showing results for 
Search instead for 
Did you mean: 

CSRF token validation failed - Web API HTTP Request

KrishnaElapavul
Level 6
Hi 
I have payload and able to  send POST request successfully  in Postman.
when i tried to send  the data through WEB API  , POST is not successful and getting the below error.

Unexpected error Error during Web API HTTP Request
HTTP Status Code: 403
HTTP Response Content: CSRF token validation failed
I have BP V 7.1 where  I triggered the above process

Can  some one throw light on this please  🙂
Krishna

------------------------------
Krishna Elapavuluri RPA Solution Lead
TEchnology Consultant
DXC.technology
Asia/Kolkata
------------------------------
6 REPLIES 6

PabloSarabia
Level 11
Hi @Krishna Elapavuluri

Are you using the HTTP Request​ VBO to perform the call? Or the internal BP Service to call the API?



Bye 🙂

------------------------------
Pablo Sarabia
Solution Manager & Architect
Altamira Assets Management
Madrid
------------------------------

Hi Krishna,

Can you shed some light on the type of authentication you using and if you are send a raw JSON text payload or a binary version of the file for the same?

Also, which method of webservice call are you using via the HTTP VBO or using the Blue Prism Web Service feature.

------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
Wonderbotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.

Hi Pablo 
I am using   internal BP Service to call the API

I have configured API and  action in that 


------------------------------
Krishna Elapavuluri RPA Solution Lead
TEchnology Consultant
DXC.technology
Asia/Kolkata
------------------------------

Hi
Not using any authentication at API configuration , but i am sending apikey at common header level 
I am POSTing  json text  plain 

This way i am able to POST successfully in another project

------------------------------
Krishna Elapavuluri RPA Solution Lead
TEchnology Consultant
DXC.technology
Asia/Kolkata
------------------------------

Hi Krishna and All,

Just checking if we have any solution for the above issue as we are facing similar error in one of our API post call.

Any suggestions is much appreciated!!

-----------------------------------------
Vinay Kumar Aleti
RPA Lead Developer
ADP
Hyderabad



------------------------------
Vinay Aleti
------------------------------

Hello @Vinay Aleti,

We'll need more details about your specific situation. Are you using the Utility - HTTP VBO, a Web API service, or something else to perform the REST API call? Can you provide some details about the service you're trying to call and how you're going about getting the access token?

Cheers,


------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------