Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InstagramのサムネイルURLの取得に失敗 #13

Open
upsilon opened this issue Aug 14, 2017 · 1 comment
Open

InstagramのサムネイルURLの取得に失敗 #13

upsilon opened this issue Aug 14, 2017 · 1 comment

Comments

@upsilon
Copy link

upsilon commented Aug 14, 2017

Instagram のURLについてサムネイル画像の取得に失敗しています

URL:
https://img.azyobuzi.net/api/redirect?uri=https%3A%2F%2Fwww.instagram.com%2Fp%2F4KYC8sGu_1%2F

レスポンス (インデントなど整形):

{
  "error": {
    "code": 4043,
    "message": "The picture you requested is not found.",
    "exception": "ImgAzyobuziNet.Core.ImageNotFoundException: Exception of type 'ImgAzyobuziNet.Core.ImageNotFoundException' was thrown.\n   at ImgAzyobuziNet.Core.Resolvers.InstagramResolver.<Fetch>d__10.MoveNext() in E:\\repo\\img.azyobuzi.net\\ImgAzyobuziNet.Core\\Resolvers\\Instagram.cs:line 125\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at ImgAzyobuziNet.Core.Extensions.<GetOrSet>d__0`1.MoveNext() in E:\\repo\\img.azyobuzi.net\\ImgAzyobuziNet.Core\\Extensions.cs:line 22\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\n   at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.GetResult()\n   at ImgAzyobuziNet.Core.Resolvers.InstagramResolver.<GetImages>d__4.MoveNext() in E:\\repo\\img.azyobuzi.net\\ImgAzyobuziNet.Core\\Resolvers\\Instagram.cs:line 59\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\n   at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.GetResult()\n   at ImgAzyobuziNet.Core.ImgAzyobuziNetService.<Resolve>d__4.MoveNext() in E:\\repo\\img.azyobuzi.net\\ImgAzyobuziNet.Core\\ImgAzyobuziNetService.cs:line 33"
  }
}
@azyobuzin
Copy link
Owner

どんな shortcode を突っ込んでも

{"meta": {"code": 400, "error_type": "APINotFoundError", "error_message": "invalid media id"}}

が返ってくる。認証エラーならほかのエラーメッセージになるはずなので、 Instagram の一時的な障害かな?

upsilon added a commit to opentween/OpenTween that referenced this issue Oct 21, 2017
Instagram API 側の問題が解消するまでの一時的な措置
azyobuzin/img.azyobuzi.net#13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants