NovuN
Novu11mo ago
sandsower

Bridge URL on framework deployment

Hi, I am trying to move our workflows into code by using the framework sdk. However I've run into a bit of a snag, I synced using a local deployment from my machine and the tunnel url which I then passed as a bridge url when syncing but now I'm getting an error when trying to trigger some of the notifications I have setup with code:

{
  "url": "https://[local-id].novu.sh/api/novu",
  "statusCode": 404,
  "message": "Unable to establish tunnel connection to `https://[local-id].novu.sh/api/novu`. Run npx novu@latest dev in Local mode, or ensure your Tunnel app deployment is available.",
  "code": "TunnelNotFound",
  "cause": {
    "name": "HTTPError",
    "code": "ERR_NON_2XX_3XX_RESPONSE",
    "timings": {
      "start": 1739975406144,
      "socket": 1739975406144,
      "lookup": 1739975406144,
      "connect": 1739975406144,
      "secureConnect": 1739975406144,
      "upload": 1739975406144,
      "response": 1739975406276,
      "end": 1739975406277,
      "phases": {
        "wait": 0,
        "dns": 0,
        "tcp": 0,
        "tls": 0,
        "request": 0,
        "firstByte": 132,
        "download": 1,
        "total": 133
      }
    }
  }


I'm assuming this is because my local machine is not running the project. What I was looking for is a way to tie the code workflow we have to the API on our Novu Business account, is this possible? Or would the only way to use our Business account to process the triggered workflows be to create the workflows on the dashboard itself (no-code)?
Was this page helpful?