Closed cjhelloletsgo closed 2 months ago
Thanks for reaching out. The validate_e911_address command makes a call to the ValidateE911Address API. We reached out to the Chime team regarding this behavior and can let you know when we have an update.
Since this is an issue involving the API, which is used across SDKs, I created a new issue to track this in our cross-SDK repository: https://github.com/aws/aws-sdk/issues/789. Please refer to that issue for updates going forward.
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.
Describe the bug
The validate_e911_address api returns invalid country codes. If I enter "US" for the country code like in this python script (Address is a random address off zillow)
I get this response:
ValidationResult is 1, which means the address had to be modified, the Country was returned as "USA" instead of "US" like I passed it in.
But if I try to validate again with USA instead this time it errors out and says that is invalid
The documentation is also unclear how to handle apartment numbers or different units, as you can see it just removes it in the validation result but it seems like it should be returned as postDirectional looking through the api responses.
Link to api docs
Expected Behavior
The api validates the address, if changes are required it returns a valid address in the response
Current Behavior
invalid responses are returned/apartments are unable to be accounted for in emergency calls
Reproduction Steps
Use snippets above
Possible Solution
Fix bugs/Improve documentation
Additional Information/Context
No response
SDK version used
1.34.145
Environment details (OS name and version, etc.)
Ubuntu 24.04