New edge function has undefined global connection #16
-
I created a new account, setup a database. And added an Edge Function. When I run it in the dashboard using the test button, everything works great. However when I go to the url I get an error:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi, @Clancey, have you assigned an APIKEY to your function? |
Beta Was this translation helpful? Give feedback.
-
You are right. We are working on the documentation, which should be available within a few days, and we'll improve the returned error message. |
Beta Was this translation helpful? Give feedback.
That was it! Maybe the error message should mention the lack of an API key to nudge people in the right direction?