Discord error 50132: Ownership cannot be transferred to a bot user
Last verified against Discord Developer Docs - Opcodes and status codes
Ownership cannot be transferred to a bot userWhat error 50132 means
A request tried to make a bot account the owner of a guild, and Discord does not allow bots to receive server ownership. The call is PATCH /guilds/{guild.id} with an owner_id that belongs to a bot user.
Only the current owner can transfer ownership at all, so this usually comes from tooling that a human owner runs: scripts that try to hand a server to an automation account, or migration tools that pick the wrong user from a member list. Bot users are marked with bot: true on the user object, which makes the mistake easy to catch before sending.
Nothing about your bot's permissions changes the outcome. A bot can hold Administrator, but the owner must be a human account.
What it looks like
{
"message": "Ownership cannot be transferred to a bot user",
"code": 50132
}Why it happens
- owner_id set to a bot user's ID
- Migration script picked the first member with Administrator, which was a bot
- Automation designed around a bot owning the server
- Target user ID copied from an application page (application ID) instead of a person's profile
How to fix Discord error 50132
- 1Check the target user's bot flag before attempting a transfer
- 2Choose a human account as the new owner
- 3Give the bot Administrator or the specific permissions it needs instead
- 4Retry the transfer with the human account's ID
- 5Log the user object for the target ID and check its username and bot flag before sending
How to stop it recurring
Design server automation so the owner is always a person, with bots holding roles. If you need continuity, keep a trusted secondary human admin. Permission bits a bot needs can be worked out with the Discord permissions calculator. Keep the owner account protected with 2FA.
Official reference: Discord Developer Docs - Opcodes and status codes. See all Discord error codes or the Discord limits and quotas.
Related codes
Error 50132 - quick answers
What does Discord error 50132 mean?
A request tried to make a bot account the owner of a guild, and Discord does not allow bots to receive server ownership. The call is PATCH /guilds/{guild.id} with an owner_id that belongs to a bot user.
How do I fix Discord error 50132?
1. Check the target user's bot flag before attempting a transfer 2. Choose a human account as the new owner 3. Give the bot Administrator or the specific permissions it needs instead 4. Retry the transfer with the human account's ID 5. Log the user object for the target ID and check its username and bot flag before sending
Should I retry after error 50132?
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.