Symptom
- OData OPTIONS fails with error : HTTP/1.1 405 Method Not Allowed
- ICM trace level 2 shows:
Line 12804: [Thr 140734412222736] HTTP request (rewritten) [148/5127/1]:
Line 12805: [Thr 140734412222736] OPTIONS /sap/opu/odata/sap/servicename/$metadata?sap-language=DE HTTP/1.1
Line 12807: [Thr 140734412222736] pragma: no-cache
Line 12808: [Thr 140734412222736] cache-control: no-cache
Line 12809: [Thr 140734412222736] accept: */*
Line 12810: [Thr 140734412222736] access-control-request-method: GET
Line 12811: [Thr 140734412222736] access-control-request-headers: maxdataserviceversion,sap-cancel-on-close,sap-contextid-accept
Line 12813: [Thr 140734412222736] user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
Line 12814: [Thr 140734412222736] sec-fetch-mode: cors
Line 12815: [Thr 140734412222736] sec-fetch-site: cross-site
Line 12816: [Thr 140734412222736] sec-fetch-dest: empty
Line 12818: [Thr 140734412222736] accept-encoding: gzip, deflate, br, zstd
..
..
..
Line 13347: [Thr 140734412222736] HTTP response (raw) [148/5127/1]:
Line 13348: [Thr 140734412222736] HTTP/1.1 405 Method Not Allowed
Line 13349: [Thr 140734412222736] set-cookie: sap-usercontext=sap-client=300; path=/; SameSite=None; secure
Line 13350: [Thr 140734412222736] content-type: application/xml
Line 13351: [Thr 140734412222736] content-length: 906
Line 13352: [Thr 140734412222736] dataserviceversion: 1.0
Line 13353: [Thr 140734412222736] sap-server: true
Line 13354: [Thr 140734412222736] sap-icm-log-dtrace:
Line 13355: [Thr 140734412222736] sap-icm-log-uname:
Line 13356: [Thr 140734412222736] sap-icm-log-mandt: 300
Line 13357: [Thr 140734412222736] sap-perf-fesrec: 48518.000000
Line 13467: [Thr 140734412222736] BINDUMP of content denied
Read more...
Environment
SAP Gateway (OData)
Product
SAP S/4HANA all versions
Keywords
OPTIONS, 405, Method Not Allowed, icf/cors_enabled, UCON_CHW , KBA , OPU-GW-COR , Framework , BC-MID-ICF , Internet Communication Framework , BC-CST-WDP , Web Dispatcher , 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.
SAP Knowledge Base Article - Preview