Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Trello API Authorization Error: "invalid combination in scope"

George September 28, 2019

Hello,

 

Whenever I try to authorize my app with the Trello API and use a scope other than "read" I'll get an "invalid combination in scope" error.

 

The constructed authorization URL:

https://trello.com/1/authorize?expiration=never&name=MyApp&scope=write&callback_method=fragment&return_url=https://myurl.test&response_type=token&key=my_key

 

If I change the scope query string to "read" it works, but I get the above error for "write" and "account".

 

The key query string was redacted in this post.

 

 

 

1 answer

1 accepted

1 vote
Answer accepted
Iain Dooley
Community Champion
September 28, 2019

@George my guess is you can't have write without read. The list is comma separated:

https://developers.trello.com/page/authorization

George September 30, 2019

That was the problem, I though that it's hierarchical, meaning write will give access to read and write, and account will give access to read, write and account permissions.

 

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events