Since the last Appwrite updates, I sometimes get an "Incorrect string value" error when deploying a Cloud Function. This error then causes the build process to fail.
--> Attached are two different screenshots of these errors.
When I get such an error message, I simply restart the deployment and in most cases the build succeeds on the second try.
Can anyone explain to me why this might happen and how I can prevent this non-deterministic error?
Thanks in advance for any help!
Is this Appwrite Cloud or self hosted?
This is Appwrite Cloud. The Screenshots were taken in the Cloud Dashboard
The files of the cloud functions were created with the old CLI. I have adjusted the code in the necessary places afterwards, but maybe it has something to do with that.
@Meldiron any ideas about this? I've seen a couple instances of this problem now
Not sure 🤔 sounds like some specific symbol cannot be stored properly. What runtime are you using? What texts do you log?
Possibly this could be some warning that is being printed by the runtime - that would explain why it's random
what runtime was this?
I am using python-3.9 and appwrite 4.1.0 cli to deploy the functions
what do you have in your requirements.txt?
only the appwrite package. I am not sure if this problem still exists as I do not have time to work on my project atm.
But I find it interesting that the problem is not deterministic and only occurs on some deploys and without changes is gone again on the next one
ya..it's a tricky bug...maybe a race condition with checking the logs from the container before it's ready 🧐
Recommended threads
- Question: Best practices for implementin...
Hi everyone! I'm building an application that needs a multi-level hierarchy: Organizations → Teams → Users. I see that Appwrite provides a Teams service, but I...
- Fails to add Custom domain and subdomain...
Case 1 : I've a domain ("remiel.work") which i want to host my portfolio thru appwrite sites. when i try to connect my domain (which i bought from spaceship, ma...
- Account API: Update status. Feature on t...
Is there in the cloud.appwrite.io a button/flag to update a user status. I know there is an API for this, but i like to change de value inside de cloud console....