Skip to Content
Aug 08, 2018 at 04:29 AM

XSODATA ERROR 405 (Method Not Allowed)

1531 Views Last edit Aug 08, 2018 at 11:06 AM 4 rev


I am facing an issue with my xsodata. Everything works fine

Nevertheless, I get the error: HEAD 405 (Method Not Allowed)

I have the following issue :

Especially I don't understand why it says that the allowed headers are GET, POST, PUT, PATCH, DEL - while my settings in the XS Admin Tool are different.

Here is my .xsaccess file

    "exposed": true,
    "authentication": {
        "method": "Form"
    "cache_control": "must-revalidate",
        "enabled": true,
        "allowMethods": ["GET", "POST", "HEAD", "OPTIONS"],
        "allowOrigin": ["<My domain>"],
        "allowCredential": true,
        "exposeHeaders": "access-control-allow-headers,access-control-allow-origin,access-control-expose-headers,authorization",
        "allowHeaders": "Origin, Content-Type, Depth, User-Agent, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control",
        "maxAge": "3600"
    "enable_etags": false,
    "force_ssl": false,
    "xhrFields": {
        "withCredentials": true

Could you help me ?

Thank you