Sudden Respones error

I’ve been using API search call https://developers.onemap.sg/commonapi/search? for a couple of weeks now. it was working fine until this morning when i got the following error :

JSONDecodeError: Expecting value: line 1 column 1 (char 0)

when i do response.json. It was working fine yesterday. Is anything the problem? the full api url with parameters works fine. somehow the json was just unable to decode…

Hi @Jason_Lau, it could be error when you have parsed in some invalid characters that has been reflected on OWASP practices. Please email to onemap[at]@sla.gov.sg with your application IP or the IP u are using if you have further issues.