Skip to content
Back

Function was working: Failed to load entrypoint

  • 0
  • 4
  • Cloud
MyWay
5 Feb, 2026, 23:39

I had a Bun function deployed two months ago working until 2 days ago on a daily basis, now I'm getting: Failed to load entrypoint, file src/main.js does not exist.

Any idea? I tried deploying it again from the web but getting the same

TL;DR
Function entrypoint code issue causing failure to load, changes may be related to custom entry points; solution: change entrypoint to src/main.ts and redeploy. Requesting team members to investigate and ensure no production app disruptions on cloud.
6 Feb, 2026, 02:07

best to share more details about your codebase, or perhaps your projectid and deploymentid

1
6 Feb, 2026, 05:31

Project id 64382f5fbf5f7f10b9d4, deployment id 698528ef1581eeea3d79

6 Feb, 2026, 14:56

can you also share your source code? feel free to DM

7 Feb, 2026, 06:13

I've created a post with the same issue but for python ^

7 Feb, 2026, 06:18

Its definitely something to do with the entrypoint code not detecting custom entry points maybe?

11 Feb, 2026, 08:53

Yeah, apparently something there changed. I changed mine to src/main.ts, redeployed and it worked again

13 Feb, 2026, 08:18

<@743532656767270934> please look into it when you have time, we shouldn't be breaking production level apps on cloud

13 Feb, 2026, 10:31

cc <@287294735054274560> are we aware of any changes to entrypoint code?

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