Fix to BadRequestError handling with CORS