SAP Knowledge Base Article - Preview

3291155 - Error:' CSRF token is missing [HTTP/1.1 403 Forbidden]' happens when task uses OData datastore - SAP Cloud Integration of data services

Symptom

  • Get error when executing a task:
    org.apache.olingo.client.api.http.HttpClientException: java.util.concurrent.ExecutionException: org.apache.olingo.client.api.communication.ODataClientErrorException: (/IWBEP/CM_V4H_RUN/043) CSRF token is missing [HTTP/1.1 403 Forbidden]
    at org.apache.olingo.client.core.communication.request.AbstractODataStreamManager.getHttpResponse(AbstractODataStreamManager.java:128)
    at org.apache.olingo.client.core.communication.request.batch.ODataBatchRequestImpl$BatchManagerImpl.getResponseInstance(ODataBatchRequestImpl.java:88)
    at org.apache.olingo.client.core.communication.request.batch.AbstractBatchManager.getResponse(AbstractBatchManager.java:115)
    at org.apache.olingo.client.core.communication.request.batch.AbstractBatchManager.getResponse(AbstractBatchManager.java:38)
    at org.apache.olingo.client.core.communication.request.AbstractODataStreamManager.getResponse(AbstractODataStreamManager.java:146)
    at com.acta.adapter.odata.base.ODataV4Handler.writeNextBatch(ODataV4Handler.java:1219)
    at com.acta.adapter.odata.base.ODataV4Handler.writeNextAudit(ODataV4Handler.java:324)
    at com.acta.adapter.odata.operations.OdataTableTarget.writeNextAudit(OdataTableTarget.java:237)
    at com.acta.adapter.sdk.StreamListener.handleBrokerMessage(StreamListener.java:234)
    at com.acta.brokerclient.BrokerClient.handleMessage(BrokerClient.java:406)
    at com.acta.brokerclient.BrokerClient.access$100(BrokerClient.java:53)
    at com.acta.brokerclient.BrokerClient$MessageHandler.run(BrokerClient.java:1559)
    at com.acta.brokerclient.ThreadPool$PoolThread.run(ThreadPool.java:100)
    Caused by: java.util.concurrent.ExecutionException: org.apache.olingo.client.api.communication.ODataClientErrorException: (/IWBEP/CM_V4H_RUN/043) CSRF token is missing [HTTP/1.1 403 Forbidden]


Read more...

Environment

  • SAP Cloud Integration of data services
  • Odata

Product

SAP Cloud Integration for data services 1.0

Keywords

CIDS, OData, CSRF token, missing, 403 Forbidden, authentication , KBA , LOD-HCI-DS , HANA Cloud Integration for Data Services , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.