Ubuntu image creation errors out

I am trying to create an Ubuntu Core 24 image and at the prepare image step, where it downloads the snaps, errors out. Maybe request timeouts? Not sure. I ran it with debug flag and this is what I got

Following states will be executed:
[0] prepare_image
[1] load_gadget_yaml
[2] set_artifact_names
[3] populate_rootfs_contents
[4] generate_disk_info
[5] calculate_rootfs_size
[6] populate_bootfs_contents
[7] populate_prepare_partitions
[8] make_disk
[9] generate_snap_manifest

Continuing
[0] prepare_image
INFO: validation mode: enforce
Fetching snapd (26865)
Fetching pc-kernel (3374)
Fetching core24 (1643)
duration: 2m56.470687291s
Error: Error preparing image: Get "https://canonical-bos01.cdn.snapcraftcontent.com/download-origin/canonical-lgw01/dwTAh7MZZ01zyriOZErqd1JynQLiOGvM_1643.snap?token=<token>": EOF
error: recipe `build-image-amd64` failed with exit code 1

Here is the model:

The Model
{
  "type": "model",
  "series": "16",
  "authority-id": "<id>",
  "brand-id": "<id>",
  "model": "the-frame-amd64-dev",
  "architecture": "amd64",
  "base": "core24",
  "grade": "dangerous",
  "timestamp": "2026-06-07T01:37:29+00:00",
  "snaps": [
    {
      "name": "pc",
      "type": "gadget",
      "default-channel": "24/stable"
    },
    {
      "name": "pc-kernel",
      "type": "kernel",
      "default-channel": "24/stable"
    },
    {
      "name": "core24",
      "type": "base",
      "default-channel": "latest/stable"
    },
    {
      "name": "snapd",
      "type": "snapd",
      "default-channel": "latest/stable"
    },
    {
      "name": "ubuntu-frame",
      "type": "app",
      "default-channel": "24/stable"
    },
    {
      "name": "mesa-2404",
      "type": "app",
      "default-channel": "latest/stable"
    },
    {
      "name": "network-manager",
      "type": "app",
      "default-channel": "24/stable"
    },
    {
      "name": "the-frame-kiosk",
      "type": "app",
      "default-channel": "latest/stable"
    }
  ]
}

Some times the error is at pc, sometimes its at network-manager. There is no set places.

Not sure whats going on. Any help is appreciated.