Question

Getting "Method not allowed" exception from Java

  • 18 August 2019
  • 1 reply
  • 1565 views

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

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

Reply