Skip to content

[Bug] Clicking on any menu leads to "An error occurred" in some cases #23658

@mattab

Description

@mattab

What happened?

Got

An error occurred
The requested website idSite is not found in the request, or is invalid. Please check that you are logged in Matomo and have permission to access the specified website.

Image

What should happen?

The page loads normally

How can this be reproduced?

Reproduce:

  • Go to any report
  • Click on the export button
  • Click on "[Show Export URL]" in the modal
  • Click on "[Admin → Security → Auths Tokens]" link
  • Then click on any left menu item eg. "Schedule Report"

Matomo version

latest

PHP version

No response

Server operating system

No response

What browsers are you seeing the problem on?

No response

Computer operating system

No response

Relevant log output

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Potential BugSomething that might be a bug, but needs validation and confirmation it can be reproduced.triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions