Skip to Content

UI5 deployment issue in WebIDE - CSRF token handling error


I am facing an error related to CSRF token handling when deploying UI5 application to ABAP repository. We have in place S/4 HANA central hub model.The error states "Failed to get transports for the selected package.Security handling with CSRF token is not supported for public ICF services: ICF service sap/bc/adt".

Logon procedure for sap/bc/adt service is changed form "Alternate Logon Procedure" to "Standard" with service user credentials to change authentication type from Form to Basic.

Please suggest.

Michal Keidar : Can you please check and provide your inputs ?




Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Aug 07, 2017 at 05:27 AM

    You should have the system configured in basic authentication without fixed user credentials.

    Then the browser will raise a popup for the credentials, or you can put these credentials as part of the destination you configured in Cloud Platform. Simply choose in the dropdown Basic Authentication and provide your credentials there.

    No other way is supported.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 30, 2017 at 08:10 AM

    Hi Janani,

    Have you checked my blog?

    I think this section might be relevant

    • Problem: I’m getting an error after selecting a package or an application and in the browser’s network trace I see “CSRF token validation failed” error when trying to
      reach /sap/bc/adt/cts/transportchecks service.
      Solution: In short, this issue may happen because the backend system expects a request with HTTPS and receives a request with HTTP or vice versa.Then it performs a redirect which makes the CSRF token invalid. Make sure to configure the destination in HCP cockpit and Cloud Connector in the same way the backend expects to get it (or change the security configuration of your backend system).

    If not then please share the exact failed request in the network trace and its response.


    Add comment
    10|10000 characters needed characters exceeded

  • Jul 30, 2017 at 08:14 AM

    Also please make sure there are no fixed credentials configured in your /sap/bc/adt ICF node in SICF.

    Add comment
    10|10000 characters needed characters exceeded