Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Search API does not accept special characters
Search API does not accept special characters
ID: 754363
Backlog
Published on 2/15/2023
Last update on 2/28/2023

Summary

The catalog search API, documented here: https://developers.vtex.com/docs/api-reference/search-api#get-/api/catalog_system/pub/products/search/-search- , does not accept terms with special characters like apostrophe ' or quotes ".

The error return on queries like this is: Bad Request! Scripts are not allowed!

Simulation

  1. Try to use the search API with a term using ' , for instance: GET https://{accountName}.{environment}.com.br/api/catalog_system/pub/products/search?ft=anyterm'
  2. Check that the error message appear.

Workaround

No workaround.

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