# API responses include links which 404

**URL:** <https://forum.spinitron.com/t/api-responses-include-links-which-404/1736>\
**Category:** 🐞 Bug-report\
**Created:** [November 7, 2025, 7:04am UTC](https://forum.spinitron.com/t/api-responses-include-links-which-404/1736 "2025-11-07T07:04:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dctalbot](https://forum.spinitron.com/user_avatar/forum.spinitron.com/dctalbot/32/1403_2.png) [@dctalbot](https://forum.spinitron.com/u/dctalbot)\
**Post date:** [November 7, 2025, 7:04am UTC](https://forum.spinitron.com/t/api-responses-include-links-which-404/1736/1 "2025-11-07T07:04:33Z")

</div>

Bug report -

I’ve noticed the REST API sometimes responds with links that 404 when followed.

example: GET /personas/{id}

```auto
{
  "id": 2832,
  "name": "Deftly-D",
  "bio": "foo",
  "since": 1991,
  "email": "example@spinitron.com",
  "website": "https://foo.com/example",
  "image": "foo.jpg",
  "_links": {
    "self": {
      "href": "string"
    },
    "shows": [
      {
        "href": "/api/shows/123" <-- returns 404 not found when requested
      }
    ]
  }
}

```

These should be omitted from the response body.

---

<div class="post-metadata">

**Author:** ![tom](https://forum.spinitron.com/user_avatar/forum.spinitron.com/tom/32/343_2.png) [@tom](https://forum.spinitron.com/u/tom)\
**Post date:** [November 10, 2025, 6:01pm UTC](https://forum.spinitron.com/t/api-responses-include-links-which-404/1736/2 "2025-11-10T18:01:19Z")

</div>

Thanks @dctalbot , that seems reasonable.
