Make sure there is no extra spaces
How to get the database id, collections id and document id in appwrite functions?
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 3: Container
I did but it shows the same warning everytime..
What version of Appwrite it is?
Just ran it in the cloud and seems to work
Admin
careful about using this repo because it's old and archived
Admin
i know this was raised and a fix was added so maybe this is only on cloud.
I've tested on the cloud and self hosted. Both worked
Rank 3: Container
I'm using cloud version 1.1.2
Rank 3: Container
but i'm still getting this. I couldn't solve it!
Rank 3: Container
Please don't tag the core team.
Something to note is that your exact cron expressions work on my end on cloud and self-hosted. It even works on @Binyamin's end.
Might sound dumb, but have you tried logging out and back in?
Try the basic things like refreshing your page, etc.
Rank 3: Container
Sorry but I had to solve this in order to run my app and i was hoping to get the answer
Rank 3: Container
yes tried
Not an issue, please dont do it again though 😄
Weird.
Did you deploy your function with the appwrite cli?
Rank 3: Container
this also i tried.. but didn't work
Rank 3: Container
yes i did it through cli
Rank 3: Container
was cli developed after version 1.1.2 ?
Okay in that case, you should have a file called appwrite.json. Try setting the cron expression for your function in the appwrite.json file, and redeploy from the cli
Cuz the issue you're getting seems like a frontend validation issue. Doing it through the CLI should fix it
Rank 3: Container
Ohh okay will try that!
Let me know how it goes
Rank 3: Container
sure will let you know! Thanks alot