Vimeo api 返回未找到指定资源,但可通过浏览器获取视频

Vimeo api returning specified resource not found, but video available through browser

我可以通过浏览器观看视频,但是当尝试使用 curl 获取相同的元数据时,我得到的响应低于

{ "error": "Something strange occurred. Please try again.", "link": null, "developer_message": "The specified resource doesn't exist.", "error_code": 5000 }

下面是我用的curlurl

curl-H"Authorization: bearer XXXX9eb82b84aX7XXXXXXca61eb3372"-H'Accept: application/vnd.vimeo.user+json;version=3.0,application/vnd.vimeo.video+json;version=3.4'https://api.vimeo.com/videos/XXXXXXX

出于某些安全原因,我无法在此处复制实际的令牌或视频 ID。希望在这里得到一些帮助。

谢谢

可能是您的访问令牌有问题,请确保它具有 "private" 范围