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
- Functions in cloud console not works
please advise as all of my runing functions on Appwrite console was working before , but now it give this error [Invalid `headers` param: Value must be a valid...
- Cannot migrate from Supabase
Hi, I was trying to migrate from Supabase to the Appwrite database. My database had around 190K columns. I tried it twice. Both times, after 2 days, the proce...
- Production down - createExecution return...
Hey, Since 1.9.6 rollout in fra (~17:00 UTC, 14 Aug), POST /v1/functions/{functionId}/executions returns a 400 whenever the body includes an empty headers ob...