Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Error 400 (Bad Request) when accessing filter page with special character in value
Error 400 (Bad Request) when accessing filter page with special character in value
ID:
Backlog
Published on 9/18/2017
Last update on 12/22/2022

Summary

When applying a filter by specification (side menu) with special character, the system returns a white screen with the following error 400: "Bad Request! Scripts are not allowed!"

{"base64":"  ","img":{"width":1919,"height":443,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":47472,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/known-issues/Marketing%20&%20Merchandising/error-400-bad-request-when-accessing-filter-page-with-special-character-in-value_1.png"}}

Simulation

To simulate the behavior:

  1. Set a field value (product specification or SKU) with a special character (parentheses, for example) in any category;
  2. In the catalog, select a product from the category and set it up with the specification value created in the first step. Save the product;
  3. Wait for indexing;
  4. Access the category directly from the web site;
  5. On the side filter (SearchResult control), click the specification value (filter) configured with the special character;
  6. Error 400: Bad Request! Scripts are not allowed!

Workaround

To work around the problem, avoid using special characters in the product specification and/or SKU values.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback