Discord API · error code

Discord error 40033: Message already crossposted

Permanent - do not retryHTTP 400Validation and request shape

Last verified against Discord Developer Docs - Opcodes and status codes

What Discord returns
This message has already been crossposted

What error 40033 means

You called POST /channels/{channel.id}/messages/{message.id}/crosspost on a message that has already been published. Crossposting ("Publish" in the client) pushes a message from an announcement channel to every server that follows it, and each message can only be published once.

The message flags tell you whether this already happened: a published message carries the CROSSPOSTED flag. Bots that auto-publish everything in an announcement channel see 40033 when a human moderator clicks Publish first, or when the bot processes the same MESSAGE_CREATE twice after a reconnect.

Nothing needs repairing. The message is already out to followers. Editing a published message is allowed but limited by the announcement edit rate limit, covered on 20022.

Crossposting applies only to messages in announcement channels (type 5). In other channel types there is nothing to publish to followers.

What it looks like

{
  "message": "This message has already been crossposted",
  "code": 40033
}

Why it happens

  • Moderator published the message manually before the bot did
  • Bot received the same MESSAGE_CREATE twice (reconnect or resume replay) and crossposted twice
  • Two auto-publish bots running in the same announcement channel
  • Retry logic re-sent a crosspost that actually succeeded

How to fix Discord error 40033

  1. 1Check message.flags for the CROSSPOSTED bit (value 1) before calling crosspost
  2. 2Treat 40033 as success and continue
  3. 3Deduplicate gateway events by message ID before acting
  4. 4Make sure only one bot or workflow is responsible for publishing in each channel
  5. 5Confirm the channel is an announcement channel before calling crosspost

How to stop it recurring

Make crosspost idempotent: check the flag, publish, and swallow 40033. Assign publishing to one owner per channel. The announcement channel rate limits on publishing and edits are separate; see 20022 and the Discord limits page. Log both the message ID and the channel ID when it occurs.

Official reference: Discord Developer Docs - Opcodes and status codes. See all Discord error codes or the Discord limits and quotas.

Related codes

Error 40033 - quick answers

What does Discord error 40033 mean?

You called POST /channels/{channel.id}/messages/{message.id}/crosspost on a message that has already been published. Crossposting ("Publish" in the client) pushes a message from an announcement channel to every server that follows it, and each message can only be published once. The message flags tell you whether this already happened: a published message carries the CROSSPOSTED flag.

How do I fix Discord error 40033?

1. Check message.flags for the CROSSPOSTED bit (value 1) before calling crosspost 2. Treat 40033 as success and continue 3. Deduplicate gateway events by message ID before acting 4. Make sure only one bot or workflow is responsible for publishing in each channel 5. Confirm the channel is an announcement channel before calling crosspost

Should I retry after error 40033?

No. Retrying the same request produces the same error; the condition has to be fixed first. Treat it as a permanent failure for that message and surface it, rather than looping.

Stop debugging Discord by hand

Connect the channel through Conferbot: tokens, webhooks and retries are handled, failures show as readable status.