I have encountered the error message “error decoding lambda response: error decoding lambda response: unexpected end of JSON input” on some pages of my website (after an API call and a redirect to the page), and I just don’t know where it’s coming from. I haven’t made changes to the functions/routes and it was working fine until recently (unsure of the exact date recently). Besides, for the same url it will sometimes work and sometimes not. The backend works fine and I can see from the log that a 200 response is sent.
We’d need a URL to see the issue.
My bad. Here’s a URL example that doesn’t work:
(the base url of the website is https://dictionnaire-berrichon.fr)
I just tried to visit that URL and the page crashed because it took more than 30 seconds for your code to send the data back.