diff --git a/apps/dokploy/components/dashboard/settings/destination/handle-destinations.tsx b/apps/dokploy/components/dashboard/settings/destination/handle-destinations.tsx index 958802e3..aedf8744 100644 --- a/apps/dokploy/components/dashboard/settings/destination/handle-destinations.tsx +++ b/apps/dokploy/components/dashboard/settings/destination/handle-destinations.tsx @@ -152,6 +152,11 @@ export const HandleDestinations = ({ destinationId }: Props) => { return; } + if (isCloud && !serverId) { + toast.error("Please select a server"); + return; + } + const provider = form.getValues("provider"); const accessKey = form.getValues("accessKeyId"); const secretKey = form.getValues("secretAccessKey");