Skip to content

Random HTTP 429 rate limit response? #139

Open
@RagingLeviathan

Description

Hey all, I built a node.js app that responds to discord message triggers. All it does is call the /followers endpoint when invoked and save the response to a json file.

Been using it for months without issue, but today, for some reason, I keep running into a rate limit exceeded? I've checked the headers of the response received from Tumblr's API, and i don't seem to be hitting the limit? It should be about 50ish requests a minute as it iterates through my followers list.

Response headers: Object [AxiosHeaders] {
server: 'nginx',
date: 'Sat, 28 Sep 2024 18:14:38 GMT',
'content-type': 'application/json; charset=utf-8',
'content-length': '89',
connection: 'keep-alive',
'x-rid': '64fd05ca71d0dc344741f924217e79d2',
p3p: CP="Tumblr's privacy policy is available here: https://www.tumblr.com/policy/en/privacy",
'x-ratelimit-perday-limit': '5000',
'x-ratelimit-perday-remaining': '4106',
'x-ratelimit-perday-reset': '76341',
'x-ratelimit-perhour-limit': '1000',
'x-ratelimit-perhour-remaining': '610',
'x-ratelimit-perhour-reset': '753',
'strict-transport-security': 'max-age=31536000; preload',
'alt-svc': 'h3=":443"; ma=86400'
}

calling ;
https://api.tumblr.com/v2/blog/${blogName}/followers?limit=2000&offset=20&prev_offsets=0

Yep, I did set the followers limit ridiculously high! Any clue what could be up?

The strangest thing is i am seeing it retrieving blogs, but it seems to fail before the fetching completes.

Tried to contact support, but got a response from a bot. :')

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions