【问题标题】:Spotify APIs: error when trying to add a track to a playlist for the first time, the second attempt worksSpotify API:第一次尝试将曲目添加到播放列表时出错,第二次尝试有效
【发布时间】:2013-11-17 20:02:42
【问题描述】:
第一次将曲目添加到播放列表时出现此错误:
Uncaught TypeError: Cannot read property 'length' of undefined core.js:598
然后我再次运行脚本,它工作了!!! :-o
代码相对无臂,您可以在this URL 看到它。
这是否发生在其他人身上?有什么想法吗?
G.
【问题讨论】:
标签:
javascript
api
spotify
spotify-app
【解决方案1】:
我进一步研究了 Spotify API 文档,发现标记为版本“1.0.0”的新 API 集可用。可能不会支持旧 API 集的问题,因此在这里或其他地方解决这些问题没有用处。我将我的代码移植到了新的 API。
贾塞科