img.azyobuzi.net icon indicating copy to clipboard operation
img.azyobuzi.net copied to clipboard

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

Open upsilon opened this issue 7 years ago • 1 comments

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"
  }
}

upsilon avatar Aug 14 '17 10:08 upsilon

どんな shortcode を突っ込んでも

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

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

azyobuzin avatar Aug 14 '17 13:08 azyobuzin