in src/setupProxy.js [6:12]
function onError(err, req, res, target) {
res.writeHead(500, {
'Content-Type': 'application/json',
});
res.end('{}');
console.error('Something went wrong. Check you are running the API server in the correct port. (npm rum mock-api-server or any Opbeans API server))');
}