Menu
Feedback
Start here

Known issues

Known issues
Search API does not accept special characters
Catalog
ID: 754363
Backlog
Published on2/15/2023
Last updated on2/28/2023
1 min read

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
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback