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

validation error for UserProfile profile_image_uuid #69

Open
mfrutos opened this issue Sep 13, 2024 · 1 comment
Open

validation error for UserProfile profile_image_uuid #69

mfrutos opened this issue Sep 13, 2024 · 1 comment

Comments

@mfrutos
Copy link

mfrutos commented Sep 13, 2024

When doing garth.UserProfile.get(), I get a validation error due to profile_image_uuid

---------------------------------------------------------------------------
ValidationError                           Traceback (most recent call last)
[<ipython-input-12-ad35c6dfc66a>](https://localhost:8080/#) in <cell line: 1>()
----> 1 garth.UserProfile.get()

1 frames
[/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_dataclasses.py](https://localhost:8080/#) in __init__(__dataclass_self__, *args, **kwargs)
    139         __tracebackhide__ = True
    140         s = __dataclass_self__
--> 141         s.__pydantic_validator__.validate_python(ArgsKwargs(args, kwargs), self_instance=s)
    142 
    143     __init__.__qualname__ = f'{cls.__qualname__}.__init__'

ValidationError: 1 validation error for UserProfile
profile_image_uuid
  Field required [type=missing, input_value=ArgsKwargs((), {'id': 403...: 0, 'user_pro': False}), input_type=ArgsKwargs]
    For further information visit https://errors.pydantic.dev/2.9/v/missing
@tcibils
Copy link

tcibils commented Oct 4, 2024

Same issue here! I also have similar errors with UserSettings, but for UserSettings there are more fields seem problematic. I guess it's less important though.

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

2 participants