Custom Page JSON Response Error (v2023)

sakthimano wrote:

“unexpected non-whitespace character after JSON data at line 1 column 38 of the JSON data”

That means the HTTP response is not JSON.arbei wrote:

Also read > Check HTTP Response> .

If your “custom page” is a Custom File, you should put your code in the Page_Load server event, not in the page content, and you should use exit() at the end of your code so that no other code than your own JSON will be outputted. In fact, if you are using Custom File, you should consider using Route_Action server event instead.