500 Internal Server Error Edited

I'm trying to import the data from Trello in R using the trelloR package. Everything works fine when using public boards.

library(trelloR)
url = "https://trello.com/b/nC8QJJoZ/trello-development-roadmap"
bid = get_id_board(url)
cards = get_board_cards(bid, limit = 5)

Problem arise when I want to connect to my private boards

token <- trello_get_token(key = Sys.getenv("TRELLO_KEY"), secret = Sys.getenv("TRELLO_SECRET"))

Error in init_oauth1.0(self$endpoint, self$app, permission = self$params$permission, : Internal Server Error (HTTP 500).

Sys.getenv("TRELLO_KEY") and Sys.getenv("TRELLO_SECRET") are environment variables that hold the api key and secret.

1 answer

0 vote
Bentley Cook Atlassian Team May 31, 2017

It looks like the problem is occurring when the trelloR package makes use of the oauth1.0 package (http://www.rdocumentation.org/packages/httr/topics/oauth1.0_token). Unfortunately, I'm not incredibly familar with this package. I'd recommend opening an issue with trelloR (https://github.com/jchrom/trelloR/issues).

 

 

It may be the case that they need to explicitly pass in named parameters when calling oauth_endpoint here: https://github.com/jchrom/trelloR/blob/b0c26875e096cc96630743628ac88a5cb9e5d737/R/trello_get_token.R#L32

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jun 20, 2018 in Trello

Get inspired with Trello & earn free Gold

A blank Trello board can be both a beautiful and intimidating thing. How many lists should I have? Is creating 10 labels overkill? How can I best track my progress? Is there a way...

16,764 views 0 14
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you