Fix bug which mistakes 400 error for 500 Upstream-commit: 376c15bbaa05d1458d9a0238b8854af5de2738a1 Component: engine