Skip to main content
The First Step
Aug 18, 2019 11:37 AM UTC
Question

Getting "Method not allowed" exception from Java

I am trying to call Api Get Message List from my Java class:

/restapi/v1.0/account/accountId/extension/extensionId/message-store

but getting "Method not allowed" exception with http 405

Can someone say what is the issue? Cannot figure it out

    1 reply

    The First Step
    Aug 18, 2019 11:48 AM UTC

    This happens when you make mistake in choosing the API method to call.

    The Api Get Message List is having GET method to call and any other API method not supported

    Make sure in your Java class if you had used the same