Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Agile Client to get Boards returns Authentication error #270

Open
GodwinUjeen opened this issue Jul 30, 2023 · 0 comments
Open

Using Agile Client to get Boards returns Authentication error #270

GodwinUjeen opened this issue Jul 30, 2023 · 0 comments
Labels
help wanted Signals that additional assistance or expertise is needed on a particular issue or feature.

Comments

@GodwinUjeen
Copy link

GodwinUjeen commented Jul 30, 2023

Hi,
I have tried to get all boards using agile client, however i tried it always returns,

{
    "status": "fail",
    "message": "Client must be authenticated to access this resource."
}

The Code I have tried:

       const client = new AgileClient({
            host: 'https://host.atlassian.net',
            authentication: {
                basic: {
                    email: '<my-email>',
                    apiToken: '<API-Token>',
                },
            },
            newErrorHandling: true,
        });

        return client.board.getAllBoards();

I have tried using version 3 client also but it's not working.

@MrRefactoring MrRefactoring added the help wanted Signals that additional assistance or expertise is needed on a particular issue or feature. label Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Signals that additional assistance or expertise is needed on a particular issue or feature.
Projects
None yet
Development

No branches or pull requests

2 participants