respond with 502 error to clients if instruct parse fails