It looks like the server that is sending the JSON is sending an invalid JSON - could be due to the DB not retrieving any data at all and sending "None" over the REST endpoint. More context is needed w.r.t to the server code to understand the flow.
Incoming data parsing with express.json() -- may cause the client to crash if the server sends wrong format.