MMM-Trello Doesn't load



  • Hi
    I implemented the MMM-Trello module but the data doesn’t load.
    Only the loading Icon is there… The config file should be ok.

    i don’t find log files to search the error. is there a possibility to find the logfile with the error?

    tnx

    0_1475142005704_IMG_20160928_213722.jpg


  • Moderator

    @gianienderlin Do you have the correct api_key, token and list_id? Unfortunately the error is currently only logged in the browser, but if you can open developer tools in the browser and have a look into console you might find something.


  • Moderator

    @gianienderlin If you do a git pull in the MMM-Trello folder, and restart the mirror, it should display an error now on the server side as well.



  • Hello Jopyth

    Thanks for your help. I did a git pull, and now i see the error message. Sorry for my questions, i’m a beginner in raspberry. the keys should be ok.

    Many thanks for your support.

    best regards from switzerland

    giani

    { Error: model not found
    at Request._callback (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/node-trello/lib/node-trello.js:88:13)
    at Request.self.callback (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:373:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request. (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:1318:14)
    at emitOne (events.js:101:20)
    at Request.emit (events.js:188:7)
    at IncomingMessage. (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:1266:12)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)
    statusCode: 404,
    responseBody: ‘model not found’,
    statusMessage: ‘Not Found’ }


  • Moderator

    @gianienderlin You’ve got the wrong id (list_id). That was the only way I was able to obtain the error. I will see if I can make it simpler to retrieve a list id.

    Do this section again:

    Finding a List ID

    One of the trickier parts of using the Trello API for simple use cases is finding a List ID that belongs to a user. There are a few ways of doing this depending on your skillsets. One such way is to use the Chrome Dev Tools to watch network traffic from the official client.

    To try to make this easy, we’ll be dumping the JSON from a known Card. Open the official Trello web client and find a Card from a list that you want to use as your target.

    It should have a short URL that looks like

    https://trello.com/c/DcqBrqdx/1-target-card

    Take that URL and add .json to the end as follows:

    https://trello.com/c/DcqBrqdx/1-target-card.json

    Within the raw JSON dump you get when pulling up this new URL, you will see a field called idList. We’re about to use this to create a new Card in the same list.

    You have to search for the parameter idList in the json (usually possible with CTRL+F), I think you have taken the id of the card instead.



  • Hi Jopyth

    Hmm it’s very strange. I deleted the id’s and put the same id’s new in to the config file. now its works fine. sorry for the circumstances. thanks for your suppport.

    best regards

    giani


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.