Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout - Invalid Form Body #306

Open
Eccleria opened this issue Jan 31, 2024 · 1 comment
Open

Timeout - Invalid Form Body #306

Eccleria opened this issue Jan 31, 2024 · 1 comment
Assignees
Labels
invalid Not fatal issue

Comments

@Eccleria
Copy link
Owner

DiscordAPIError[50035]: Invalid Form Body
communication_disabled_until[INVALID_COMMUNICATION_DISABLED_TIMESTAMP]: Invalid communication disabled timestamp
    at handleErrors (/home/ewibot/ewibot/node_modules/@discordjs/rest/dist/index.js:640:13)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async SequentialHandler.runRequest (/home/ewibot/ewibot/node_modules/@discordjs/rest/dist/index.js:1021:23)
    at async SequentialHandler.queueRequest (/home/ewibot/ewibot/node_modules/@discordjs/rest/dist/index.js:862:14)
    at async REST.request (/home/ewibot/ewibot/node_modules/@discordjs/rest/dist/index.js:1387:22)
    at async GuildMemberManager.edit (/home/ewibot/ewibot/node_modules/discord.js/src/managers/GuildMemberManager.js:381:15)
    at async Object.action (file:///home/ewibot/ewibot/src/commands/timeout.js:109:5) {
  requestBody: {
    files: undefined,
    json: {
      communicationDisabledUntil: [M],
      communication_disabled_until: '2024-04-24T21:14:41.654Z'
    }
  },
  rawError: {
    message: 'Invalid Form Body',
    code: 50035,
    errors: { communication_disabled_until: [Object] }
  },
  code: 50035,
  status: 400,
  method: 'PATCH',
  url: 'https://discord.com/api/v10/guilds/816961245743808582/members/311822906659307520'
}
@Eccleria Eccleria added the invalid Not fatal issue label Jan 31, 2024
@Eccleria Eccleria self-assigned this Jan 31, 2024
@Eccleria
Copy link
Owner Author

It might be caused by the timer limit value of 2147483647 ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Not fatal issue
Projects
None yet
Development

No branches or pull requests

1 participant