Release Automation SOAP API invocation via Scripts

Document ID : KB000004342
Last Modified Date : 14/02/2018
Show Technical Document Details

SOAP API integration results in error "Expected CSRF token not found"

Version : or higherScripts: VB or any scripting language making call to Release Automation API service

To enable and make product more robust Release Automation have addressed various security vulnerabilities. One of them is Cross-site request forgery (CSRF) which is implemented across all exposed interface of Release Automation. Due to this security check the scripts integrating making successive call in single session may result in error below

HTTP Status 403 - Expected CSRF token not found. Has your session expired? Access to the specified resource has been forbidden.

  1. The script need a modification to avoid CSRF violation
Additional Information:

In case you need additional help please contact CA support