Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
Post marked as unsolved with 6 replies, 0 views
Hello @JoeKun,
I am also having trouble decoding the chart data.
I was able to get a MusicItemCollection with the same implementation as you described above.
However, the following error occurs when trying to get nextBatch.
let data = try await albums.nextBatch()
keyNotFound(CodingKeys(stringValue: "data", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"data\", intValue: nil) (\"data\").", underlyingError: nil))
How do I get nextBatch about a chart?
I thought it might have something to do with the fact that the resource collection is an array, so I added it here.