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

KeyError: 'country_of_birth' #201

Open
sentry-io bot opened this issue Feb 9, 2022 · 0 comments
Open

KeyError: 'country_of_birth' #201

sentry-io bot opened this issue Feb 9, 2022 · 0 comments
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Feb 9, 2022

Sentry Issue: IDENTIFY-DEV-5

KeyError: 'country_of_birth'
(19 additional frame(s) were not displayed)
...
  File "pydantic/class_validators.py", line 310, in pydantic.class_validators._generic_validator_basic.lambda12
    return lambda cls, v, values, field, config: validator(v)
  File "pydantic/main.py", line 735, in pydantic.main.BaseModel.validate
    return cls(**value)
  File "pydantic/main.py", line 404, in pydantic.main.BaseModel.__init__
    values, fields_set, validation_error = validate_model(__pydantic_self__.__class__, data)
  File "pydantic/main.py", line 1014, in pydantic.main.validate_model
    input_data = validator(cls_, input_data)
  File "cuenca_validations/types/requests.py", line 304, in validate_state_of_birth
    values['country_of_birth'] == 'MX'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant