https://supabase.com/ logo
Heya, I'm trying to deploy a function, but getting...
# help
h
Heya, I'm trying to deploy a function, but getting the following error:
Error: Failed to create a new Function on the Supabase project: {"message":"Internal Server Error","errorEventId":"374791912db84ece8a38c5c85a65bc8d"}
The logs explorer doesn't seem to capture that error, and the error message doesn't quite let me hone in on what may be the cause. Any pointers? Thanks!
n
Hello @hko! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
h
The error is the same whether deploying as a new or updating an existing function (which I had deployed a few months back, but was significantly different)
Changing to a different deno module fixed the deployment issue, now I receiving a
Copy code
502: Bad Gateway (ORIGIN_BOOT_RPC_ERROR)

The subhoster origin returned a failure status for the boot RPC call. Status: 500 Internal Server Error
From GitHub, I assumed that I might be over the script size limit (if it's counting imports) https://github.com/supabase/supabase/issues/6647 —but upgrading to Pro did not solve the issue for me.
s
Please open a support ticket and someone will have a look into this. Please also provide more details as to how you are deploying the function and what the function's content https://app.supabase.io/support/new