Danbooru

Danbooru 2 Issues Topic

Posted under General

This topic has been locked.

Reporting "Too Many Requests" problem too. It happened with both a regular tag edit (the edit was lost), and marking posts translated/commentaried.
It first happened around 12 hours ago. I didn't do anything different from the usual, so I don't know why this started happening.

I'm experiencing it too. It's happening pretty much every time where I need to edit tags more than once on a post (either because I noticed there's more to add or made an accidental error).

tapnek said:

I'm experiencing it, too. It doesn't help that I have to wait like three minutes each time I edit a post.

You should only need to wait about 15s, just that you have to wait that period since the last attempt. So if you keep trying every 10 seconds you'll keep getting the error over and over and over.

Hm, out of curiosity, could you guys check "API Limits" parameter in your profile next time that happens? Also do you, by chance, use any powerful userscripts like evazion's Danbooru EX? Those can rely heavily on API requests, though I don't think it should hit the limit when coming from user's browser.

If I add/change a single Note on a page, then try to add/change another Note within 15 seconds, the second Note fails to save. Similarly, changing a Note and trying to Mark as translated within 15 seconds always gives Too Many Requests. I've tried doing this at about the 13~14 second mark and the 16~17 second mark, and 15 seconds does seem to be the cutoff. My only userscript that's active on danbooru is Danbooru 2 Note Assist. My "API Limits" is always showing as either 10.0/10 or 9.0/10; it seems to be 9.0/10 within that 15 second window.

Type-kun said:

Hm, out of curiosity, could you guys check "API Limits" parameter in your profile next time that happens? Also do you, by chance, use any powerful userscripts like evazion's Danbooru EX? Those can rely heavily on API requests, though I don't think it should hit the limit when coming from user's browser.

No, I'm practically vanilla. The only thing I use is DB Tag Completion. API limit 9.0/10, as always.

Type-kun said:

Hm, out of curiosity, could you guys check "API Limits" parameter in your profile next time that happens? Also do you, by chance, use any powerful userscripts like evazion's Danbooru EX? Those can rely heavily on API requests, though I don't think it should hit the limit when coming from user's browser.

Always 9.0/10 since beginning. I don't even use his script.

Type-kun said:

Hm, out of curiosity, could you guys check "API Limits" parameter in your profile next time that happens? Also do you, by chance, use any powerful userscripts like evazion's Danbooru EX? Those can rely heavily on API requests, though I don't think it should hit the limit when coming from user's browser.

Same here, have always been 9.0/10 ever since it started showing up on profile.

Yeah, now I can see it too. Like evazion said in issue #3023, it looks like a server configuration issue, since judging by response headers, each API request now consumes variable amount of tokens instead of just one, for whatever reason.

Just ranting a bit. This "rate limit" error started to getting on my nerves. Essentially, everytime you trying to batch upload, 70% that upload will be fail if the timing is off even a bit (I'm using the trick that CodeKyuubi posted above).

@Sacriven @Lannihan @OMGkillitwithfire @CodeKyuubi @Laethiel

Sorry for the mass dmail, but I thought you'd like this information as soon as possible.

Anyways, you should be able to increase your API limit to 60 if you create an API key (this can be done from your profile). That's the burst limit for Platinum+. The limit is 30 for Gold, but 10 for member. However, as mentioned, the caveat is that you need an API key.

On a side note, I thought this was changed a while back so that you wouldn't need an API key for your limit since all requests, not just JSON and XML requests, count towards your API limit...

BrokenEagle98 said:

@Sacriven @Lannihan @OMGkillitwithfire @CodeKyuubi @Laethiel

Sorry for the mass dmail, but I thought you'd like this information as soon as possible.

Anyways, you should be able to increase your API limit to 60 if you create an API key (this can be done from your profile). That's the burst limit for Platinum+. The limit is 30 for Gold, but 10 for member. However, as mentioned, the caveat is that you need an API key.

On a side note, I thought this was changed a while back so that you wouldn't need an API key for your limit since all requests, not just JSON and XML requests, count towards your API limit...

Sorry for asking a stupid question but, what does API do?

Application Programming Interface. Just the code that allows you to do things on this site without actually being on the site (although I surmise this simplification makes it sound more complicated than it actually is).

Also turns out even requesting a key is also a request... I just deleted mine, since regenerating a key didn't work. Trying to get a fresh one.

EDIT: Looks like that question was answered pretty quick

EDIT 2: Waiting more than a minute and then trying to delete my API key still doesn't allow me to do it --' This is kinda frustrating.

Updated