Failed to parse XML-RPC request: Premature end of file

What’s wrong with XML-RPC when I have “Failed to parse XML-RPC request: Premature end of file” in response?

full response:

<?xml version="1.0" encoding="UTF-8"?>faultCode0faultStringFailed to parse XML-RPC request: Premature end of file.

I found issue on access_token + header on request
everything works as expected

Same issue but when I added the header:

“Content-Type”: “application/xml”

It started working :slight_smile:

This is four years ago but it’s a standard to specify the content type which is why most people don’t see this message :wink: