Dokploy/dokploy · error · TRPCError

FORBIDDEN

FORBIDDEN

Error message

Changing scheduleType is not allowed in the cloud version.

What it means

Error "Changing scheduleType is not allowed in the cloud version." thrown in Dokploy/dokploy.

Source

Thrown at apps/dokploy/server/api/routers/schedule.ts:98

				action: "create",
				resourceType: "schedule",
				resourceId: newSchedule?.scheduleId,
				resourceName: newSchedule?.name,
			});
			return newSchedule;
		}),

	update: protectedProcedure
		.input(updateScheduleSchema)
		.mutation(async ({ input, ctx }) => {
			const existingSchedule = await findScheduleById(input.scheduleId);

			if (
				IS_CLOUD &&
				input.scheduleType &&
				input.scheduleType !== existingSchedule.scheduleType
			) {
				throw new TRPCError({
					code: "FORBIDDEN",
					message: "Changing scheduleType is not allowed in the cloud version.",
				});
			}

			await assertHostScheduleAccess(
				ctx,
				existingSchedule.scheduleType,
				existingSchedule.serverId,
			);
			if (
				input.scheduleType &&
				input.scheduleType !== existingSchedule.scheduleType
			) {
				await assertHostScheduleAccess(
					ctx,
					input.scheduleType,
					input.serverId ?? existingSchedule.serverId,

View on GitHub (pinned to 546686ea35)

When it happens

Trigger: Thrown at apps/dokploy/server/api/routers/schedule.ts:98 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of Dokploy/dokploy@546686ea35 (2026-08-27). Data as JSON: /api/errors/47aa743476ab5f67. Report an issue: GitHub.