# Swagger files on /docs/openapi return 404 due to trailing slash in URL

**URL:** <https://community.toggl.com/t/swagger-files-on-docs-openapi-return-404-due-to-trailing-slash-in-url/3720>\
**Category:** Tech Discussions\
**Tags:** api\
**Created:** [December 11, 2025, 1:32pm UTC](https://community.toggl.com/t/swagger-files-on-docs-openapi-return-404-due-to-trailing-slash-in-url/3720 "2025-12-11T13:32:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chuiyou\_wu](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.toggl.com/chuiyou_wu/32/2822_2.png) [@chuiyou\_wu](https://community.toggl.com/u/chuiyou_wu)\
**Post date:** [December 11, 2025, 1:32pm UTC](https://community.toggl.com/t/swagger-files-on-docs-openapi-return-404-due-to-trailing-slash-in-url/3720/1 "2025-12-11T13:32:43Z")

</div>

I tried to download the Swagger files from `https://engineering.toggl.com/docs/openapi/` but got a 404 error. It seems the issue is caused by the application appending an unnecessary trailing slash to the URL, which results in a 404.

 ![image](https://canada1.discourse-cdn.com/flex012/uploads/toggl1/original/2X/8/8b4274b48cd12e7a930fdf84f4389a50a5552519.jpeg)

For example, when I click **Toggl API** , it navigates to

`https://engineering.toggl.com/assets/files/api-f9b2d6fbb6542739aea424dcf6dd36c8.json/`,

which returns 404.

However, the correct and accessible URL is

`https://engineering.toggl.com/assets/files/api-f9b2d6fbb6542739aea424dcf6dd36c8.json`

(without the trailing slash).

---

<div class="post-metadata">

**Author:** ![Support](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.toggl.com/support/32/1577_2.png) [@Support](https://community.toggl.com/u/Support)\
**Post date:** [December 12, 2025, 9:09pm UTC](https://community.toggl.com/t/swagger-files-on-docs-openapi-return-404-due-to-trailing-slash-in-url/3720/2 "2025-12-12T21:09:19Z")

</div>

Thanks for pointing this out! Our team will work on fixing that 🙂
