MMM-Trello icon indicating copy to clipboard operation
MMM-Trello copied to clipboard

403 error

Open greedyvegan opened this issue 1 year ago • 6 comments

followed every step and landed this Screenshot 2024-04-01 at 3 18 58 PM

greedyvegan avatar Apr 01 '24 19:04 greedyvegan

I have that too. Did you resolve it?

Wdave40 avatar Apr 05 '24 20:04 Wdave40

My setup worked three months ago, but now I'm getting the same.

TrueSolara avatar Apr 30 '24 14:04 TrueSolara

I also saw this error. Unfortunately, I do not have time to continue the development of this module in the foreseeable future. I have disabled my Trello module on our MM², as we did not use it a lot anymore.

It seems Trello has changed their API access key structure from what I can see here. Maybe this is the reason?

If someone wants to continue developing this module, let me know. I could archive this repository and link to their updated version.

Jopyth avatar Apr 30 '24 14:04 Jopyth

Thanks Jopyth. Wish I had the skills. If someone does pick it up please message on here. I'd love to get it working again.

Wdave40 avatar Apr 30 '24 15:04 Wdave40

Per https://developer.atlassian.com/cloud/trello/changelog/ as of March 12, 2024, GET requests will no longer work with content in the body.

Since https://github.com/adunkman/node-trello is also defunct, I have (for now) just gone into node_modules/node-trello/lib/node-trello.js and modified line 83:

  else {
    options.json = true; // tells request to return json
    // options.json = this.addAuthArgs(this.parseQuery(uri, args));
  }

~That gets me past the 403. (I'm still getting undefined for my card display; but I'm still playing around with this module)~

Instead of commenting out the line; just set options.json = true; and things seem to work again! Without it, the body is returned as a string, and the module cannot process it.

benjaminflessner avatar May 01 '24 03:05 benjaminflessner