A 400 response error occurs in the BAR API during account creation. The error originates from data validation failures in the phone number extension field when users enter non-numeric characters.
Replication
Error is triggered by entering characters such as "+" in the phone number extension field.
Resolutions
UI Feedback: Provide a validation message in the UI when the phone extension contains invalid characters, guiding users to input only numeric values.
Enhanced Logging: Add a log message in Validate function (located in api/src/business_ar_api/schemas/utils.py) to capture details of invalid inputs for easier diagnostics.
Issue Description
A 400 response error occurs in the BAR API during account creation. The error originates from data validation failures in the phone number extension field when users enter non-numeric characters.
Replication
Resolutions
Validate
function (located inapi/src/business_ar_api/schemas/utils.py
) to capture details of invalid inputs for easier diagnostics.