A. Perkamentus
A. Perkamentus9mo ago

Wrong JSON response when deployed

When testing in localhost in dev mode there is no issue and the response is correct as expected. But when deployed, I get a weird JSON response with numbers. (see image). This results in a client side error because it cannot be parsed correct.
No description
1 Reply
sudoer_with_an_opinion
We will need more information to dive into this: there isn't any way to know what is happening here. This could be a dev DB returning the correct thing but production does not. Maybe it's an external API that is throwing an error, etc. Can you provide some context and maybe some code that you're using? Also, is there any specific differences between dev and prod like a DB adapter or other envvars?