instead of returning return nil, errors.NewBadRequestError() as an empty interface , return a empty response and an error otherwise tests cannot parse the nil into a response
instead of returning return nil, errors.NewBadRequestError() as an empty interface , return a empty response and an error
otherwise tests cannot parse the nil into a response