Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Address in orderForm with excessive size for multiples cities separated by '::'
Address in orderForm with excessive size for multiples cities separated by '::'
ID: 287854
Backlog
Published on 1/6/2023
Last update on 1/6/2023

Summary

In some cases, Checkout API uses "::" as a separator when there are several cities possibilities from the zip code service, causing an error about excessive size in the field address, impacting placing the order. This behavior happens because the API has a autocomplete for address

Simulation

Considering Argentina as an example that fits this condition, when adding the postal code 4427 via "vtexjs" or API you can see the address defined in the orderForm separated by "::"

Workaround

Via API: send the parameter "clearAddressIfPostalCodeNotFound": false in the request to avoid the address being autocompleted Via "vtexjs": use the function "sendAttachment()" instead of "calculateShipping()" so it's possible to use the parameter mentioned above

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