This rule belongs to the
postman-validation ruleset and states that:
The URL defined for a Postman Collection request must be non-empty and an absolute path. This is essential for determining the base URLs of one or more servers that serve the current API. If a base URL cannot be determined, a default dummy value for base URL will be assumed automatically during import/transformations in APIMatic.
|Message||Server base URL could not be determined from any Postman Collection request.|
|Broad Category||API Servers|
|Products Impacted||API Transformer, Code Generation, Developer Experience Portal|
- For Postman Collections v1.0, ensure that every request definition has a non-empty absolute URL path set for the
- For Postman Collection v2.0 and above, ensure that the
urlproperty in an item's request definition is not empty or null.
- For Postman Collection v2.0 and above, if the URL is defined as a string value in the item's request, ensure that it is non-empty and an absolute URL path.
- For Postman Collection v2.0 and above, if the URL is defined as an object, ensure that information for
hostis provided and is valid.
- In the Postman application, open each request and ensure that value for its URL is set as an absolute path in the input field next to the HTTP method, save and export the collection and then try again.
For More Information