IRestEndpoints Null Error

I am building a custom REST Endpoint and our server is throwing a null error on the IReqeust request function param.. This is working fine on my localhost. What could cause this?

  public static IRestResponse Event(IRestRequest request)

Error:

System.NullReferenceException: Object reference not set to an instance of an object.
   at Analog.Objects.KBA.Event(IRestRequest request)