Hey everyone! I am using Nhost serverless functions to connect to the Hasura Events. I have an event set up for a specific function but when I trigger the function from the hasura console (or by an INSERT, UPDATE, or DELETE operation) I get this as the response...
```{
"data": {
"message": "{\"type\":\"http_exception\",\"message\":\"Connection failure\",\"request\":{\"secure\":false,\"path\":\"/v1/functions/workspace-event-insert-workspace-log\",\"responseTimeout\":\"ResponseTimeoutMicro 60000000\",\"queryString\":\"\",\"method\":\"POST\",\"requestHeaders\":{\"Content-Type\":\"application/json\",\"X-B3-ParentSpanId\":\"aa2c937007b3b668\",\"X-B3-TraceId\":\"b9b1698b8f23b8e2\",\"X-B3-SpanId\":\"6b2baa2b62719f2e\",\"User-Agent\":\"hasura-graphql-engine/v2.8.1\",\"nhost-webhook-secret\":\"nhost-webhook-secret\"},\"host\":\"localhost\",\"port\":1337}}"
},
"version": "2",
"type": "client_error"
}
```
As you can see I am doing this with the CLI on my local machine. I would say that I have the url wrong or the serverless function wrong but when I enter the url into a browser I get the response "OK" so I know it is hitting the serverless function and it returns OK. Any ideas why Hasura can't seem to connect to my serverless function?