Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SBC-AUTH - Sentry error for Postal Code field exceeds length #9990

Closed
saravanpa-aot opened this issue Nov 5, 2021 · 3 comments
Closed

SBC-AUTH - Sentry error for Postal Code field exceeds length #9990

saravanpa-aot opened this issue Nov 5, 2021 · 3 comments
Assignees
Labels
bug Something isn't working Dev Tasks for developers Pay Work for Pay Team Priority1

Comments

@saravanpa-aot
Copy link
Contributor

https://sentry.io/organizations/registries/issues/2771010183/?project=1762954&referrer=webhooks_plugin

Due to the phone number field limit set in postgres , the operation failed

Double check the UI validation
increase the python model and postgres , make them similar

@saravanpa-aot saravanpa-aot added bug Something isn't working Pay Work for Pay Team labels Nov 5, 2021
@seeker25 seeker25 self-assigned this May 4, 2022
@seeker25
Copy link
Collaborator

seeker25 commented May 4, 2022

The error isn't for phone, it's for postal code:

StringDataRightTruncation: value too long for type character varying(10)

postal_code = Column('postal_code', String(10))

postal_code: 'XXX XXXXxxx',

@seeker25 seeker25 changed the title sentry error for phone number field exceeds length SBC-AUTH - Sentry error for Postal Code field exceeds length May 4, 2022
@seeker25
Copy link
Collaborator

seeker25 commented May 4, 2022

The UI uses 15 characters max for validation. So I've bumped the field from 10 characters to 15 characters.

@seeker25
Copy link
Collaborator

seeker25 commented May 7, 2022

This took a bit longer because I had to upgrade all the dependencies for auth_api, as well as the event-listener projects.

@SateeshFW SateeshFW added the Dev Tasks for developers label May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Dev Tasks for developers Pay Work for Pay Team Priority1
Projects
None yet
Development

No branches or pull requests

5 participants