Back

Functions -Internal Error

  • 0
  • Functions
A
15 Jul, 2024, 11:03

Is it possible to delete or edit this function? Is there any reason why this is happening?

TL;DR
Developers are receiving internal error messages regarding functions. The solution provided is to check the logs for the appwrite container using `docker compose logs appwrite`. Deleting and recreating the function might resolve the issue. By appending `/settings` to the URL, developers can delete the function. Additionally, they need to create a deployment before executing a function to avoid the error.Deleting the function, creating a new one, or editing it could help resolve the issue.
darShan
15 Jul, 2024, 11:04

You can delete the function, append /settings to url & scroll down to delete.

D5
15 Jul, 2024, 11:14

What function?

A
15 Jul, 2024, 11:20

Thanks, I successfully deleted it. When adding /settings to the url it worked. But when /executions and trying to execute --> "Deployment not found. Create a deployment before trying to execute a function."

darShan
15 Jul, 2024, 11:21

If you deleted the function, there'd be no function, no deployments, no executions. Did you create a new function?

A
15 Jul, 2024, 11:22

I mean before deleting, I tried to execute it, but as I got the 500 error, there were no deployments

D5
15 Jul, 2024, 11:25

Could you check the logs for the appwrite container?

D5
15 Jul, 2024, 11:25

You can get them by running docker compose logs appwrite

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