Following the edge functions tutorials, just creat...
# help
v
Following the edge functions tutorials, just creating the
hello-world
function and deploying it, then trying to call it returns
Copy code
502: Bad Gateway (ORIGIN_INVALID_XDENO_CONFIG)

The subhoster origin specified an invalid `x-deno-config` header on the boot RPC response: invalid unicode code point at line 1 column 733.
n
Hello @Victor Peralta! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! 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.
v
this happens when calling any function in our project
using an invalid JWT returns
invalid JWT
, so that the JWT is correct
Using
GET
returns
Only POST and OPTIONS requests are supported
Getting this from the invocations tab in the supabase dashboard
Copy code
Status
502
Method
POST
Timestamp
06 Apr, 2022 16:12
Execution Time
576ms
Deployment ID
wpxsaqsmijxmvssyscfg_30fc0738-f328-40df-92bb-2c4758bfa435_1
Log ID
9329fe60-ed3a-4b89-a7be-866e6c2cb526
Request Path
/hello-world
Request body
{
  "headers": [
    {
      "accept": "*/*",
      "accept_encoding": null,
      "connection": null,
      "content_length": "79",
      "host": "wpxsaqsmijxmvssyscfg.functions.supabase.co",
      "user_agent": "insomnia/2021.7.2"
    }
  ],
  "method": "POST",
  "pathname": "/hello-world",
  "protocol": "https:",
  "search": null
}
Response POST body
{
  "headers": [
    {
      "content_length": "187",
      "content_type": "text/plain; charset=utf-8",
      "date": "Wed, 06 Apr 2022 23:12:56 GMT",
      "server": "deploy/us-west2-a",
      "vary": null
    }
  ],
  "status_code": 502
}