vimeo / vimeo/vimeo-networking-java

UserMetadataInteractions Vimeo Api update, library not working anymore

Open
#633 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
128
Forks
48
PR merge metrics
No merged PRs in 30d

Description

Summary

Exception: class com.squareup.moshi.JsonDataException - Expected BEGIN_OBJECT but was BEGIN_ARRAY at path $.user.metadata.interactions

Reproduction Steps

VimeoApiClient.instance().fetchVideo(...)

Expected Behavior

List of UserMetadataInteractions

Actual Behavior

Object of UserMetadataInteractions

Related:
https://github.com/mfilippov/vimeo-dot-net/issues/204

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at VimeoApiClient.instance().fetchVideo(...) and trace the mapping for $.user.metadata.interactions, then read the related vimeo-dot-net issue for the API change. Done means the response is handled as a list of UserMetadataInteractions without the Moshi JsonDataException; no test file is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.