No acceptable content type: None of the requested types variable1 can be provided
None of the acceptable types indicated by the caller can be provided.
Check the documentation for the Accept types that the endpoint supports. Include at least one of the supported MIME types in the Accept header. When this error is reported by a MarkLogic REST API instance, MarkLogic Server returns status code 406.
A client has submitted an HTTP method that the matched REST API endpoint does not support. When this error is reported by a MarkLogic REST API instance, MarkLogic Server returns status code 405.
This error is a standard wrapper for HTTP Response Code 405 Method Not Allowed. For example, your client has submitted a PUT request, and the endpoint does not support this verb. Check your client and the server endpoint for whether this error is appropriate for the given scenario.