specification icon indicating copy to clipboard operation
specification copied to clipboard

Parsing error occurs for FavoritedWorld when the world has been deleted

Open kxn4t opened this issue 5 months ago • 1 comments

When a world has been deleted, the API response for a FavoritedWorld contains only a limited set of fields. This leads to a parsing error because the expected structure of a full world object is not met.

Example of the response in such cases:

{
  "authorName": "???",
  "capacity": 0,
  "favoriteGroup": "worlds1",
  "favoriteId": "fvrt_xxx",
  "id": "???",
  "imageUrl": "",
  "isSecure": false,
  "name": "???",
  "occupants": 0,
  "releaseStatus": "hidden",
  "thumbnailImageUrl": "https://assets.vrchat.com/default/unavailable-world.png"
}

This causes deserialization to fail if the application expects a complete world object.

kxn4t avatar Jul 19 '25 08:07 kxn4t

This is an issue for the specification, which this repo is generated from. Please reopen this on https://github.com/vrchatapi/specification (I can't transfer the issue).

C0D3-M4513R avatar Jul 19 '25 10:07 C0D3-M4513R