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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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 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
Community showcase
Published in Trello

📹 What is Trello?

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. I'll be sharing with you a series of videos with my top tips on how to best use Trello...

780 views 13 30
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you