Skip to Content
0
May 13 at 04:35 AM

Third party application unable to fetch the csrf token

89 Views

Hi Experts,

We have scenario where the third party application hits SAP Odata service via SAP API management to post sales order.

The third party application facing issue while fetching the csrf token using the GET call and this is an intermediate issue.

Flow: Third party -----> Client Gateway -----> SAP APIM ------> SAP cloud connector ------> SAP S4H on-premise

Error# while processing SAP request :

java.lang.RuntimeException: Unable to fetch token. httpResponse :: HttpResponseProxy{HTTP/1.1 503 Service Unavailable [Content-Type: text/plain;charset=utf-8, Content-Length: 71, X-RateLimit-Limit-minute: 10000, X-RateLimit-Remaining-minute: 8920, RateLimit-Limit: 10000, RateLimit-Remaining: 8920, RateLimit-Reset: 19, X-RateLimit-Limit-minute: 10000, X-RateLimit-Remaining-minute: 9998, RateLimit-Limit: 10000, RateLimit-Remaining: 9998, RateLimit-Reset: 19, X-Cnection: close, Server: SAP, Strict-Transport-Security: max-age=31536000; includeSubDomains; preload, Date: Thu, 12 May 2022 02:11:52 GMT, Connection: keep-alive, Server-Timing: cdn-cache; desc=MISS, Server-Timing: edge; dur=33, Server-Timing: origin; dur=10686, Set-Cookie: _abck=92BE7C0244A89719C0A98EE3A84E629D~-1~YAAQhGYzuAzAepSAAQAA12oJtgcvvSA42uEixp3xE50LWNw7F98qbRhLKHqmpMjCNHWYLneBtz2jcHL3wGWF/B2rapeM1qjuAgKuCuLM2aotdU+314DE24z+VoUcMeTmFpiQo3CPiM46EmCjbNhUioL7uM6L7cdbYL8zAWgZ5jfykIRmrGuHWXMYdBrr1YW4tGtp2Y3C5p0Qn22L9Iyj5R/DXYm6ycQnFfPs41Ys/9mR6H0g8JcRXtQ61ZZHXAdPyyGqRhiRtJATg2IXyUCpi71yMi22U3zDmxByLBDfXW9nSEa06hYTceFBTihYx3VzwspzySe1Q88flHKJqMYnKWowJwsUprCN4/AqqADgOZY+EGqNRn7FbkA2UcagGgRE3Jo=~-1~-1~-1; Domain=.cathaypacific.com; Path=/; Expires=Fri, 12 May 2023 02:11:52 GMT; Max-Age=31536000; SameSite=None; Secure, Set-Cookie: bm_sz=23151142A7B3353B3D9D22BCCD13E591~YAAQhGYzuA3AepSAAQAA12oJtg9tMW0yUTjRrKhZPH1LwLhRMGYkqSgvD79bDyvdfOQGt//Y7RGRxxCyIaiuK9KCmv0cfOod+Pix5wJ8auEo6j9sO8yE22SRaJ6BHJVbubm6cwk1o8c4BiFpg5S+UbkEyNT6sGkywK1rOzgkgPLsdPE3F5ZyBCQ3gIWwzOR4J1bqFGwHxPJxk2iwaawZYo0YdYG4qipDuyVZ5A8KeYGuEMaHBXVlzOICIJ8Bni00OMaFdsZ5Mp4uMBkr1jwaC02tLTcbS1fRs/nKl63zBEirNWX55Toq1eps~4405574~3618628; Domain=.cathaypacific.com; Path=/; Expires=Thu, 12 May 2022 06:11:41 GMT; Max-Age=14389; SameSite=None; Secure] ResponseEntityProxy{[Content-Type: text/plain;charset=utf-8,Content-Length: 71,Chunked: false]}}


Can anyone have idea or faced similar kind of issue.