Skip to main content

required-folder-name

Overview

This rule belongs to the postman-validation ruleset and states that:

When defining a folder or an item group, a user-friendly name for it must be provided using the name property. This can be set while defining the folder in the Postman application.

PropertyValue
EnabledYes
Maximum SeverityError
MessageFolder has an empty/missing name.
CodePOSTMAN_V252
TypeValidation
Rule SystemSemantic
Broad CategoryFolders
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagspostman api semantic validation name folder item group collection

Suggested Fixes

  • If you are using Postman v1.0, ensure that all folder entries in the folders list has a name set with a non-emtpy value.
  • If you are using Postman v2.0 or above, ensure that all item groups/folders in the item property has a non-empty name set.
  • Create the folder in the Postman application again with a user-friendly name, save and export your collection and then try again.
  • Rename the folder in the Postman application, assign it a user-friendly name, save and export your collection and then try again.

For More Information