API Returning HTML Instead of JSON At Specific Routes?

Continuing to face challenges with this issue in new situations

It seems in some instances the request is processed just fine and in some it fails and returns HTML.

Here I am sending individual requests for a large sequence of posts using the endpoint suggested at

Suggestions? I still believe there is something wonky going on on the backend that some of these routes would be failing.