OSSupportQuestions | Posts: 21

HTML response instead of JSON

0 votes
Hi, One of our client reported this issue: They received the following HTML response to a request instead of the JSON payload they typically received.
405 Not Allowed    

405 Not Allowed


nginx/1.12.2
Could you help pinpoint the cause for this issue? Thanks,

Duo_Liang | Posts: 3776

Reply to: HTML response instead of JSON

0 votes
Hi there, Usually 405 error refers to the wrong HTTP request method (GET vs POST vs PUT), in this specific case, it looks like the error message is directly returned from loadbalancer layer, which might mean client was pinging an API with unsupported request type, not within any of the "GET, POST, HEAD, PUT, PATCH, DELETE". Could we ask client to check their outbound traffic log to see which API and HTTP request method they were using that causes this error? Please advise. Duo

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off