CSRF token validation failed - Web API HTTP Request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-05-22 12:51 PM
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
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-05-22 01:13 PM
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
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-05-22 01:16 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-05-22 01:18 PM
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
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-05-22 01:24 PM
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
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
29-11-22 06:11 PM
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
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-11-22 12:59 PM
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
------------------------------
