Skip to main content

required-request-query-parameter-name

Overview

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

When a request query string is defined, a non-empty non-null name must be specified for each query parameter using the name property. If a name is not found, the parameter definition will be ignored automatically during import/transformations in APIMatic.

PropertyValue
EnabledYes
Maximum SeverityError
MessageRequest query parameter name is empty or missing.
CodeHAR_V301
TypeValidation
Rule SystemSemantic
Broad CategoryRequest Parameters
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagshar api semantic validation name query string parameter query request

Suggested Fixes

  • Ensure that all query parameters defined in the request queryString list have a name property.
  • Ensure that the name property exists in the query string object.
  • Ensure that the value of name property is not empty or set as null.

For More Information