Skip to content

Umbraco AI tree requests return 401 after session inactivity until page reload #152

@gonziii

Description

@gonziii

Which component is this issue related to?

Umbraco.AI (Core)

Which Umbraco AI version are you using? (Please write the exact version, example: 10.1.0)

1.10.0

Bug summary

Sometimes when clicking an item in the Umbraco AI tree, the content does not load. After performing a full browser refresh, the same action works as expected.

Additional notes

This issue is intermittent and difficult to reproduce consistently.
It seems related to session/token expiration after inactivity.

Specifics

  • Clicking a node in the Umbraco AI tree occasionally results in no content being loaded.
  • In the browser’s network panel, the request returns a 401 Unauthorized.
  • Example: this occurs when loading providers in Connections.
  • After refreshing the page, the request succeeds and the content loads correctly.
Image Image

Steps to reproduce

  1. Open the Umbraco AI section in the backoffice.
  2. Leave the browser tab inactive for a while.
  3. Return to the tab and click an item in the tree (e.g., Connections → Providers).
  4. Observe that the request may return a 401 and no content is loaded.
  5. Refresh the page and try again — it works.

Expected result / actual result

Clicking an item in the tree should consistently load the corresponding content without requiring a page refresh.

Dependencies

Umbraco 17.3.5
Umbraco AI 1.10.0
Hosted in Umbraco Cloud

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions