Return 400 on unsuccessful call instead of 500