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
- 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'
- Check that the error message appear.
Workaround
No workaround.