MarkLogic 8 - After upgrade we are getting 405 Method Not Allowed on a GET

182 views Asked by At

This started happening after we upgraded MarkLogic from 7 to 8. We had various rest endpoints that worked fine.

Then after the upgrade we started intermittently getting this on various GET requests:

<error-response xmlns='http://marklogic.com/xdmp/error'>
  <status-code>405</status-code>
  <status>Method Not Allowed</status>
  <message>405 Method Not Allowed</message>
</error-response>

How do I resolve this?

Note: We had this same issue on some of our POST requests, but we were able to fix that by marking the post methods with: %rapi:transaction-mode("update")

0

There are 0 answers