Back

Python Functions Build failing in Cloud

  • 0
  • Functions
  • Web
  • Cloud
Tanmay Juneja
23 Apr, 2024, 15:00

Hey everyone!

I've recently started using Appwrite Functions and am getting this error whenever I push a build from Github/Manually. (Incorrect string value: '\xE2' for column 'logs' at row 1) Nothing happens on clicking "Scroll to Top". I've seen that my previous code versions where I was accessing a JSON key got deployed and worked perfectly in the Function. When I removed that line and replaced with simple dict.get("KEY_NAME", None) it gave me these build errors. I have only changed one line in my code. This error is very annoying as I have tried a lot of things to make it work, but it is the same in Manual and Github. Earlier I was able to handle this error by uploading tar.gz Manually, but now it too is not working.

Please help! Thanks!

TL;DR
Developers are experiencing issues with Python Functions building in the Cloud. The error message 'Incorrect string value' keeps appearing when pushing a build from Github or manually. It seems to be related to a recent code change involving accessing a JSON key. Uploading tar.gz files manually is also failing to resolve the issue. They are seeking assistance in resolving this persistent problem.
Steven
23 Apr, 2024, 23:52

We've seen this randomly, but now sure why it happens. Can you try rebuilding?

Tanmay Juneja
24 Apr, 2024, 07:00

I've tried it, still not working. Not sure why. The function currently runs on my self-hosted instance.

Tanmay Juneja
24 Apr, 2024, 07:00

What are the limitations of running functions on my self-hosted instance? I am using t3.medium (2 vCPUs) on AWS.

Steven
24 Apr, 2024, 07:01

You need about 4GB memory. I dunno what the t3.medium has

Tanmay Juneja
24 Apr, 2024, 07:16

Yup I have it.

Tanmay Juneja
24 Apr, 2024, 08:40

What would be the limitations then? How many functions can I invoke per month?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more