I have an InvokeHTTP processor and the REST endpoint it calls requires PATCH method. However, when we send the FlowFile (we get the authentication part OK), we are getting:
method PATCH must have a request body
For the InvokeHTTP processor, I'm pretty sure that the we configured the Send Message Body to true (which is the default) and Content-Type as application/json.
We enabled the endpoint to accept POST request, for the sake of testing and we've got the JSON payload accepted. So I wonder if there is an issue if we use PATCH.
Are you sure that the flow files that are failing have content?
You can right-click on the failure queue and perform a listing, then look at the content of one of the flow files and verify it has the data you expect.
I looked at the code of InvokeHttp and it does the exact same thing for PUT, POST, and PATCH regarding the body of the message.