This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Objective

When registering the Rest Service Broker, the following error may be encountered if the Swagger file is not in the correct format:

 

VALIDATIONUnhandled Exception while describing service (Inner: Object reference not set to an instance of an object.)

Before You Begin

Setting “Debugging Enabled” to True may provide additional detail of the issue.