Discord · api · fg-0450

Discord slash command deploy hangs or never updates after registering commands on every bot start

If you see Max number of daily application command creates has been reached (200), the cause and the fix for Discord are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
Max number of daily application command creates has been reached (200)Error code 30034 with HTTP 429discord.js deploy script waits silently with no error output
Cause
Each guild allows 200 application command creates per day, and creating commands one by one on every restart burns through it. discord.js queues 429 responses and waits them out by default, so the deploy looks stuck instead of failing.
Fix
Register commands from a separate deploy script run only when commands change, using the bulk overwrite PUT so unchanged commands do not count as new creates. Note that bulk PUT replaces the whole list.
Apply
await rest.put(Routes.applicationCommands(CLIENT_ID), { body: commands.map(c => c.toJSON()) });
Affected
Discord application commands API, as of 2026-10; discord.js 14 with @discordjs/rest default rate limit handling
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun