mirror of
https://github.com/imputnet/cobalt.git
synced 2026-03-09 07:17:16 -05:00
Instagram Images are downloaded on the main instance but fails in self-hosted docker instance #964
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @arnab-trameter on GitHub (Oct 30, 2025).
bug description
I have tried multiple publicly accessible image URLs from instagram and have had the same outcome.
The image get downloaded when tested on the main instance but give the following error on my self hosted instance:
Response
Request
Something I noticed
When I use this URL (https://www.instagram.com/p/DPgqTRGjkQq/?utm_source=ig_web_copy_link&igsh=MzRlODBiNWFlZA==), it fails 100% of the times.
But, when I use this (https://www.instagram.com/p/DPgqTRGjkQq/?utm_source=ig_web_copy_link&igsh=MzRlODBiNWFlZA%3D%3D), it works. The difference is the last 2 == signs are URL encoded. Other then that everything is same.
reproduction steps
Host an Instance using docker.
Call the API using FastAPI on python with Instagram Image URL.
It will fail with the error message:
error.api.fetch.emptyscreenshots
No response
links
platform information
Ubuntu 25.04 with python 3.13
additional context
@olllayor commented on GitHub (Nov 3, 2025):
same for me