Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Unexpected restApi::ApiNotConfiguredError


I'm getting an unhandled rejection restApi::ApiNotConfiguredError thrown inside t.getRestApi() and not sure why, because I am pretty sure I configured it properly.

Simplified version of my code, in an attachment-sections iframe:

var trelloAuth = { appKey: "...", appName: "..." };

var t = TrelloPowerUp.iframe(trelloAuth);
var Promise = TrelloPowerUp.Promise;


function render() {

return t.getRestApi() // Unhandled rejection error happens here
// tried adding a catch() here, no effect

.then(function(authorized) {
if (authorized) {
return loadAndRender(t);
} else {
// display auth

And the error I get is:

Unhandled rejection restApi::ApiNotConfiguredError: To use the API helper, make sure you specify appKey and appName when you call TrelloPowerUp.iframe. See more at
at uo.getRestApi (
at render (
at A (
at C._settlePromiseFromHandler (
at C._settlePromiseAt (
at C._settlePromiseAtPostResolution (
at Q._drainQueue (
at Q._drainQueues (
at Q.drainQueues (

Any ideas what can cause this? I'm pretty sure I'm setting up everything correctly.

You can see the full version of the code at - nothing really fancy going on!

1 answer

1 accepted

0 votes
Answer accepted
Lara Atlassian Team Sep 21, 2021

Hi Jess,

Thanks for reaching out!

This would be a really great question to share in our developer community. We have a number of Trello Engineers that are active there, and they'd be happy to give some guidance for more advanced topics like these.

All the best,

The Trello Team

Oops, I didn't realize they were separate forums! I will move over there. Thanks!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Trello

Taco Tuesday: New years' resolutions with Trello

Congratulations to @Laura Holton , our latest winner of Taco Tuesday! And thanks to @Kristján Geir Mathiesen for sharing the picture of Taco having fun with his new friend  B...

2,399 views 28 41
Join discussion

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