Skip to content

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

@KubaZ2

Description

@KubaZ2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsyncedSynced to internal tracker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions