Skip to content

Specifying recurrence_rule.end returns "This field is not supported for recurring events." #7020

@xPaw

Description

@xPaw

Description

I want to simply create a daily recurring event that starts and ends at the same time as the scheduled_start_time/scheduled_end_time fields. (perhaps it would use these fields if I start/end are not specified inside of recurrence_rule)

Steps to Reproduce

Schedule an event using /guilds/{guild.id}/scheduled-events api.

Specify the recurrence_rule field (#6799), I've also looked at the discord code and it does have a end field in there too.

{
	"recurrence_rule":
	{
		"start": "2024-07-20T00:00:00Z",
		"end": "2024-07-27T00:00:00Z",
		"frequency": 3, // DAILY
		"interval": 1
	}
}

Expected Behavior

Ideally this field would be supported, otherwise the error should say which field is not supported.

Current Behavior

API returns "This field is not supported for recurring events." error

Also on the client side, if I create a recurring daily event with end: null, it allows viewing future events past the scheduled_end_time (see screenshot)

Screenshots/Videos

image

Client and System Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions