bad request callback in addition to normal request handling callback