Made server handle invalid api calls gracefully while giving meaningful errors