Question

HTTP method 'POST' not allowed for this resource.

  • 31 August 2021
  • 2 replies
  • 153 views

Userlevel 1
Badge +2
  • Do Gooder (Customer)
  • 2 replies

Could someone tell me why IFS App 10 is throwing this error when I do a POST in the APi call”

 

{

    "error": {

        "code""ODATA_PROVIDER_ERROR",

        "message""An internal server error occurred. Contact administrator.",

        "details": [

            {

                "code""HTTP_METHOD_NOT_ALLOWED",

                "message""HTTP method 'POST' not allowed for this resource."

            }

        ]

    }

}


This topic has been closed for comments

2 replies

Userlevel 7
Badge +15

Hi @TIMI ,

There could be a bug for this, better to create a support case to IFS and get it fixed. I have seen the same error for operations like when exporting data from "Employees" window in Aurena when "Person ID" is visible. These has been fixed through product bugs. 

Userlevel 7
Badge +31

Hi @TIMI,

What is the API you are trying to invoke? First of all it would be better to check whether the API allows POST requests in the first place. You can do this by checking the API documentation via API Explorer window. 

 

If this is not the problem, then it is most likely a bug as Raga has mentioned above. 

Hope this helps!