Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

“App not found” when authenticating with Trello's API (client.js)

José_Chavez May 23, 2020

I am following Trello's API documentation. I already change my key where it should go

Question 1: Does my key has to be between '{' and '}'

<script src="https://api.trello.com/1/client.js?key={MyKey}"></script>

obviously I'm replacing "MyKey" by my actual key

This is my code to call authentication (same as Trello's API documentation)

<script>
        var authenticationSuccess = function () {            console.log('Successful authentication');
        };

        var authenticationFailure = function () {            console.log('Failed authentication');
        };
        window.Trello.authorize({            type: 'popup',            name: 'Getting Started Application',            scope: {                read: 'true',                write: 'true'
            },            expiration: 'never',            success: authenticationSuccess,            error: authenticationFailure
        });
    </script>

 

So, when I run the script I get "App not found" (image1)

It should return a Trello confirmation page.

Question 2: How do I fix this?

Some tips: when I get my Key at Trello, they show a message to add my origin (image2)

Question 3 :Do I have to add this Origin Info?

Question 4 : If I'm working locally (on my pc) what should I put on the origin field? (I'm using ubuntu 20.04 - firefoximage.pngimage.png)

1 answer

1 vote
Iain Dooley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 25, 2020

@José_Chavez you need to replace {MyKey} with your actual key, ie. there should be no {} in the resulting url

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events