Skip to content

🐛 Bug - Bookmark toggle returns 404 and does not save bookmarks #2682

Closed

Description

@ssw-yakshaver

Requested by: Larry Carland via YakShaver.ai 🦬 and @bradystroud
cc: Larry Carland, @Marxoz, @PothieuG, @Freego1783

Hi Team!

  🟥  Watch the video (1 min 1 sec)

  Url from screen share: https://ssw.com.au/rules/reply-done

Pain

Users are unable to bookmark rules in Rules V3 (TinaCMS). Clicking the bookmark button does not perform any action. Browser console logs show an error when toggling bookmarks, returning an HTTP 404 response. The bookmark functionality should successfully save and toggle bookmarks without console errors.

Acceptance Criteria

  1. Clicking the bookmark button successfully saves or removes a bookmark for a rule.
  2. The bookmark state updates correctly in the UI after toggling.
  3. No HTTP 404 error is returned when toggling bookmarks.
  4. No console errors are displayed when using the bookmark feature.
  5. Bookmarked items persist after page refresh if persistence is expected by the application design.

Reproduce Steps

  1. Open the Rules V3 (TinaCMS) website.
  2. Navigate to any rule page.
  3. Open browser developer tools.
  4. Go to the Console tab.
  5. Click the bookmark button on the page.
  6. Observe that no bookmark action occurs.
  7. Observe the console error indicating 'Error toggling bookmark' with an HTTP 404 response.

Screenshot

Screenshot
Figure: Bookmark button triggers 404 error

Activity

  1. Aibono1225 commented on Jul 24, 2026

    @Aibono1225
    Contributor

    ✅ Done — Fixed by moving NEXT_PUBLIC_API_BASE_URL to the repository level.

    Root cause: NEXT_PUBLIC_API_BASE_URL was configured as an environment-level variable, but the build job did not declare an environment, so GitHub Actions did not expose it. As a result, the value was empty, and the “Add bookmark” request fell back to /api/... on the website’s own domain, returning a 404 instead of calling the Functions app.

    Image
  2. self-assigned this
    on Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions