I am trying to schedule a mail using the createEmail() API from the node-appwrite module, in the docs it is mentioned that the scheduleAt parameter is optional but when I leave the string empty it generates an error like this:
code: 400,
type: 'general_argument_invalid',
response: {
message: 'Invalid scheduledAt param: Value must be valid date in the future and between 0000-01-01 00:00:00 and 9999-12-31 00:00:00.',
code: 400,
type: 'general_argument_invalid',
version: '1.6.1'
}
then if I pass the scheduleAt paramter with the date and time as current date and time expecting it to immediately send the mail, it actualls schedules it to some different time in future, I don't get this weird behaviour...
Recommended threads
- Cloud function deployment failures
When I run appwrite push functions, select the function I want to deploy, confirm with a YES, is starts deploying but goes into error. I need to repeat the ste...
- Failed to create function
Hey everyone ๐ I'm having an issue creating Functions on Appwrite Cloud and I'm not sure if it's a platform bug or something wrong in my project. When I try t...
- Function deployment failed: Unable to re...
Hi Appwrite team, I have been experiencing persistent errors when i attempt to push my appwrite functions. The logs on the deployment detail page on the console...