We use Duo Authentication and disabled it for a specific user, but want to keep it for the other users.
I wasted many hours of debugging finding out why I get success response from WordPress, but the post was not being created.
It was because the JSON.parse in the try-catch with its hidden error.
Maybe there should be a warning or something similar if the the response is not JSON-parsable.
How to handle authentication when using Duo Authentication?