This does not give a direct answer to your question, but maybe others who come across this message, like me, would like to know how to fix the problem.
In my case, I:
- Using Jetpack
- Stand alone site
I was getting the error:
{"error": "unauthorized", "message": "API calls to this blog are disabled." }
To fix this:
- Disable Jetpack Plugin
- Reconnect.
Bug fixed!
source share