add bad request error type