send specific error codes and messages with bad requests