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

An id field is required when creating an onboarding prompt #6320

Open
KubaZ2 opened this issue Jul 24, 2023 · 2 comments
Open

An id field is required when creating an onboarding prompt #6320

KubaZ2 opened this issue Jul 24, 2023 · 2 comments
Labels
bug synced Synced to internal tracker

Comments

@KubaZ2
Copy link
Contributor

KubaZ2 commented Jul 24, 2023

Description

An id field is required when creating an onboarding prompt. The only way to create a new prompt is to pass a nonexistent snowflake in the id field.

Steps to Reproduce

curl -L -X PUT "https://discord.com/api/v10/guilds/guild_id/onboarding" -H "Content-Type: application/json" -H "Authorization: Bot Token" -d "{\"prompts\":[{\"title\":\"Title\",\"options\":[{\"title\":\"Title\",\"role_ids\":[\"role_id\"]}]}]}"

Expected Behavior

The id field is not required or is nullable

Current Behavior

The id field is required and non nullable

Screenshots/Videos

No response

Client and System Information

No response

@KubaZ2 KubaZ2 added the bug label Jul 24, 2023
@lmle lmle added the synced Synced to internal tracker label Jul 25, 2023
@GenRevo89
Copy link

Has this been patched? I am still encountering this issue.

@Victorsitou
Copy link
Contributor

Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug synced Synced to internal tracker
Projects
None yet
Development

No branches or pull requests

4 participants