mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-24 13:11:06 -05:00
Error.api.fetch.empty occurs for single-photo Instagram links #717
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 @aiovin on GitHub (Feb 16, 2025).
problem description
When making a request to the API with a link to an Instagram post containing only a single photo:
curl -X POST "http://localhost:9000/" -H "Content-Type: application/json" -H "Accept: application/json" -d '{"url": "https://www.instagram.com/p/DFQeD9JNv7o/"}'I encounter the following response from the API:
{"status":"error","error":{"code":"error.api.fetch.empty"}}Currently, this issue is observed only on one server, while the same request works correctly from another server.
Other requests to Instagram, such as this one:
curl -X POST "http://localhost:9000/" -H "Content-Type: application/json" -H "Accept: application/json" -d '{"url": "https://www.instagram.com/p/DFu4tXpN6yp/"}'(i.e., posts with multiple photos) are executed correctly on the problematic server.
No issues are observed on the official cobalt.tool website or on public instances with single-photo ig links.
The
docker compose logsdo not output any information regarding the requests and responses to the API, so perhaps the logs should be checked elsewhere to get more details about why this response is occurring, but I'm not sure where.If I’m not mistaken, such requests to the cobalt API used to return links like
http://localhost:9000/tunnel...I remember this because the issue didn’t appear immediately but only after about a day. Is it possible to disable this kind of tunneling if the problem is related to it?your instance configuration
@dumbmoron commented on GitHub (Feb 16, 2025):
can’t reproduce on cobalt.tools, which means it’s probably not anything related to codebase
@dumbmoron commented on GitHub (Feb 16, 2025):
it’s unrelated, probably ip reputation