[GH-ISSUE #1083] Single-image Instagram posts cause an error #12003

Closed
opened 2026-05-08 08:12:32 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @tabatkins on GitHub (Jan 30, 2025).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/1083

bug description

When an Instagram post contains only a single image, Cobalt is unable to fetch it, returning the error message "something went wrong when fetching info from instagram and i couldn't get anything for you. if this issue sticks, please report it!"

Examples of problematic posts that contain only one picture:

This works, because it's multiple pictures:

This works, because while it only has one picture it also contains a video:

This also works (only one item, but it's a video):

The single-picture posts work in other Instagram image downloaders, so I imagine it's just a variation in how they format the API response when it's a single image, and cobalt doesn't quite expect the formatting.

reproduction steps

  1. Enter one of the listed "doesn't work" links into cobalt.
  2. Note the error it returns.

screenshots

No response


platform information

Android 15, on Pixel 9 Pro

additional context

No response

Originally created by @tabatkins on GitHub (Jan 30, 2025). Original GitHub issue: https://github.com/imputnet/cobalt/issues/1083 ### bug description When an Instagram post contains only a single image, Cobalt is unable to fetch it, returning the error message "something went wrong when fetching info from instagram and i couldn't get anything for you. if this issue sticks, please report it!" Examples of problematic posts that contain only one picture: * https://www.instagram.com/p/DDZPGRrTz-F/ * https://www.instagram.com/p/DFWn3woSe0S/ This works, because it's multiple pictures: * https://www.instagram.com/p/DEfHvj9T7yB/ This works, because while it only has one picture it also contains a video: * https://www.instagram.com/p/DFWn-RuSpOG/ This also works (only one item, but it's a video): * https://www.instagram.com/reel/C522Jhlvoqz/ The single-picture posts work in other Instagram image downloaders, so I imagine it's just a variation in how they format the API response when it's a single image, and cobalt doesn't quite expect the formatting. ### reproduction steps 1. Enter one of the listed "doesn't work" links into cobalt. 2. Note the error it returns. ### screenshots _No response_ ### links ```shell ``` ### platform information Android 15, on Pixel 9 Pro ### additional context _No response_
GiteaMirror added the main instance issue label 2026-05-08 08:12:32 -05:00
Author
Owner

@catdevnull commented on GitHub (Jan 31, 2025):

another case: https://www.instagram.com/p/DFXdm4xtsMS/

also happens in selfhosted
can still load in incognito

<!-- gh-comment-id:2626194218 --> @catdevnull commented on GitHub (Jan 31, 2025): another case: https://www.instagram.com/p/DFXdm4xtsMS/ also happens in selfhosted can still load in incognito
Sign in to join this conversation.