3 Testruns:
Number of characters received: 5242880, 1048576, 4194304
Total Documents: 5120, 1024, 4096 (of which the last one is simply cut-off somewhere in the string).
Is this due to some kind of limitation set by you? I can see all documents using IPFS desktop.
I was planning to use this endpoint to get the directory instead of needing 10k calls to query all tokens. Please let me know if I misunderstood anything or if it should be something on my side!
I have tried out all your different endpoints (cat, get & dag), and I settled on the get endpoint as it allows me to get the entire directory data without sending hundreds of queries (in theory) and should thus be way faster as it won’t block dozens of threads while waiting on requests.
If I receive random amounts of characters each time I call the endpoint, that should be an issue on your side, no?
I’m also not talking about request limits as in requests/minute, but whether there are limits regarding the size (in bytes/characters) of the response (don’t think there should be)
Thanks for the confirmation - I suspect that there is an issue with your API Endpoint then? If the response was truncated on my side, I should end up with the same amount of characters every time. But as you can see in my initial post, the response arrives arbitrarily truncated (5242880, 1048576, 4194304 Characters respectively) when executing the same request several times. What’s the best approach here? Do I open a ticket or can you check internally?
Hey everybody! Wanted to come back and update with the issue in case someone is experiencing the same!
@Flaveeu was able to point me in the right direction in a ticket response. When your results are arbitrarily cut-off, make sure you are properly transmitting the auth, as the endpoint will respond even if there’s an issue with your auth, but requests will be limited to 60s of Data-streaming. Just fix your auth and it should work!