Skip to content

Make profilePicOverride, profilePicOverrideThumbnail, and userIcon optional for limited user objects#492

Merged
ariesclark merged 2 commits intovrchatapi:mainfrom
Rexios80:feature/optional-profile-pic-override
Sep 17, 2025
Merged

Make profilePicOverride, profilePicOverrideThumbnail, and userIcon optional for limited user objects#492
ariesclark merged 2 commits intovrchatapi:mainfrom
Rexios80:feature/optional-profile-pic-override

Conversation

@Rexios80
Copy link
Copy Markdown
Collaborator

DioException [unknown]: null Error: CheckedFromJsonException Could not create LimitedUserFriend. There is a problem with "profilePicOverride". Required keys are missing: profilePicOverride.

This came from crashlytics. Since I don't have an account with the issue, I can't be certain that these fields are optional on all the LimitedUser objects, but it's safer to assume they can be.

@Rexios80
Copy link
Copy Markdown
Collaborator Author

Now that I released that change I'm getting this error

DioException [unknown]: null Error: CheckedFromJsonException Could not create LimitedUserFriend. There is a problem with "userIcon". Required keys are missing: userIcon.

I'm making that field optional as well

@Rexios80 Rexios80 changed the title Make profilePicOverride optional for limited user objects Make profilePicOverride, profilePicOverrideThumbnail, and userIcon optional for limited user objects Sep 15, 2025
@Rexios80 Rexios80 requested a review from ariesclark September 15, 2025 19:29
@ariesclark ariesclark merged commit 5708eee into vrchatapi:main Sep 17, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants