# Bug JIM-70 - 401 error does not help user during jira import.

Project: Stream Jira to OpenProject data Migrator
Status: closed
URL: https://community.openproject.org/work_packages/JIM-70

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 17.4.0 |
| Observed in versions | 17.2.0 |
| Sprint | Sprint 0 (17.4) |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.2.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List | RM Jira Migrator |
| Labels |  |

## People

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

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  On Jira side have a user that has no admin permissions(not part of administration groups).
    
2.  Then use this user personal access token to do a Jira Import in OpenProject.
    
3.  See the following error.
    

<br>

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/920357/content">

### What is the buggy behavior?

*   The error does not help user.
    

### What is the expected behavior?

*   The error says the following: &quot;Jira API returned error status 401. This means that token you used during Jira Import configuration lacks required permissions to perform a Jira Import (user must be an administrator in Jira). Make your user an administrator in Jira or use a token that belongs to an administrator.&quot;
