Menu
Feedback
Start here

Known issues

Known issues
Auto approve API accepts any values
Catalog
ID: 713704
No Fix
Published on12/12/2022
Last updated on2/16/2024
1 min read

Summary

Currently, the autoapprove API is not checking if the seller exists, potentially leading to incorrect configurations.

/suggestions/configuration/autoapproval/toggle/seller/1a?sellerId=

If the seller id above is sent, for instance, using a different case sensitive character: Myseller instead of myseller, the API will respond with 200OK and the autoapprove will, misleadingly, be set as true. However, the seller itself will not have its autoapprove activated, since the string needs to be an exact match for it to work.

Simulation

  1. Using the autoapprove settings API, set a string similar to the seller, but not an exact match
  2. Check that this value will be set as true and the API will not respond with a message indicating that there is not existing seller for that value

Workaround

If your autoapprove is not working, double check if there's any character with a different case or slight difference.

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