for some UIDs (including mine uid=610976938), I'm getting the error:
ValidationError(model='EnkaNetworkResponse', errors=[{'loc': ('owner', 'profile', 'level'), 'msg': 'value is not a valid enumeration member; permitted: 0, 1, 2', 'type': 'type_error.enum', 'ctx': {'enum_values': [<ProfileRank.TIER_1: 0>, <ProfileRank.TIER_2: 1>, <ProfileRank.TIER_3: 2>]}}])
I think it happening only when user has enka.network profile. this is my code, thank you:
async with client:
response = await client.fetch_user_by_uid(uid)
print(response)
for some UIDs (including mine
uid=610976938), I'm getting the error:I think it happening only when user has enka.network profile. this is my code, thank you: