# Bug OP-3855 - Wrong error message when accessing private query

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-3855

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Low |
| Module |  |
| Target versions | 7.1.0 |
| Observed in versions |  |
| Sprint | 7.1.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

**Preconditions**

  - Private query exists.

**Steps to reproduce**

1.  Try to access private query without permission.

**Actual behavior**

  - Wrong error message.

**Expected behavior**

  - Correct error message (naming correct reason why access not possible).

**Screenshot**  
![](Bug_Query-private.png)

**QA system**

  - community.openproject.com
  - OpenProject 7.0.2
  - Chrome
