I have a function in appwrite made in python and within my python function I want to call another function that I have in my appwrite made in nodejs, however it gives me a strange error that says "{"response":"Error: create( ) missing 1 required positional argument: 'runtime'"}"
maybe my structure of how I execute the function is wrong or what is happening? I attach a photo of my code and how I am trying to execute the function
Summary
The user is experiencing an error when trying to call a node.js function within a python function in Appwrite. They are getting a missing positional argument error. The suggested solution is to check the documentation for the correct method to call the function. The console is also returning a "Server Error" message, which may be unrelated to the initial error. The updated code and potential resolution are not provided in the thread. Accessing Docker logs for the Appwrite container on DigitalOcean is mentioned as a way to gather more information.
i have updated the structure of my function, however the console returns "Server Error"
ianmont
Rank 3: Container
May 6, 2023, 19:24
For additional information this is my nodejs function info:
ianmont
Rank 3: Container
May 6, 2023, 19:29
I think I'm giving it a solution, I'll let you know in a little if I succeed
Drake
Admin
May 6, 2023, 19:31
What is your updated code?
ianmont
Rank 3: Container
May 6, 2023, 19:41
I am attaching a picture of my current code, apparently I was trying to create a new function when what I wanted to do was create an execution of a function that already exists, but even so the problem persists and the console keeps throwing me the "server error" error
ianmont
Rank 3: Container
May 6, 2023, 19:41
The console error:
Drake
Admin
May 6, 2023, 19:42
Is a new execution created for the other function? What do the docker logs for the appwrite container say?
ianmont
Rank 3: Container
May 6, 2023, 19:45
no, the function that I am calling is not executed
I have my appwrite hosted on digitalocean, can docker logs be accessed?