How do I change country cod to 3 digits?
Status: Open · Asked by indachips on · 0 views
Hello,
1. Keap only accepts a 3 digit country code, which I think is called Alpha3.
The sending program only sends 2 digits, so it sends US instead of USA.
How can I tell pabbly to reformat the country code to 3 digits?
2. On the state, I need to reformat it like this: US-TX
So a 2 digit country then the 2 digit state.
Or it might work to spell it all the way out like TEXAS
The error message is:
BILLING Country Code is invalid, BILLING Region is invalid
Marlon
Hi @indachips,
You can add this Python code to your workflow, which will convert the alpha-2 country codes to alpha-3 country codes.
https://connect.pabbly.com/workflow/share/CUEFNwVSUjEFTwNpDl0GIQwYUFQAWVU0AxpSQFBfVS0DTlUuVxYMZg9DV3UASwloA0oEblUKAWVYTAMHUwUIe1VPBChSUVAqA05RYgBJWmkJVwUtBWQ#