"Cannot parse the supplied filter" error when trying to Edit External Networks and Subnets for an Edge Gateway
search cancel

"Cannot parse the supplied filter" error when trying to Edit External Networks and Subnets for an Edge Gateway

book

Article ID: 320504

calendar_today

Updated On: 03-14-2023

Products

VMware Cloud Director

Issue/Introduction

Symptoms:
  • Unable to edit an NSXv Edge Gateway
  • Cannot add/remove networks for an Edge
  • Unable edit i.e. add/remove external networks of an Edge
  • In the Browser Console, you will see the following
{"minorErrorCode":"BAD_REQUEST","message":"Cannot parse the supplied filter","stackTrace":"com.vmware.vcloud.api.rest.parser.QueryParseException: Cannot parse the supplied filter
at com.vmware.vcloud.api.rest.providers.filters.openapi.QueryValidationFilter.enforceFilteringRestrictions(QueryValidationFilter.java:166)
at com.vmware.vcloud.api.rest.providers.filters.openapi.QueryValidationFilter.filter(QueryValidationFilter.java:121)
at org.apache.cxf.jaxrs.utils.JAXRSUtils.runContainerRequestFilters(JAXRSUtils.java:1740)


Environment

VMware Cloud Director for Service Provider 10.x

Cause

This issue occurs when there is a special character in one of the org VDC network names such as a comma.

Resolution

Check the org VDC network names for any special characters and remove accordingly.
A general list of common special characters would be

  • Comma ,
  • Backslash \
  • Forward slash /
  • Less than <
  • Greater than >
  • Double Quotes "
  • Ampersand &
  • Single Quote '
NOTE: Some of the above might not always cause issues, but you should refrain from using them in the naming convention of any object.
Naming conventions should stick with
  • Letters [A-Z] [a-z]
  • Numbers [0-9]
  • Accepted characters
    • Underscore _
    • Dash -