Git Product home page Git Product logo

Comments (11)

schadilibre avatar schadilibre commented on June 19, 2024 1

I have the same error with refresh, also on Mac OSX (Mojave)

I'm wondering if the problem is not linked with character encoding :
I've have the same error when using show-cards on board with french accentuated chars (for instance รข char), but no problem with other boards...

from trello-cli.

mheap avatar mheap commented on June 19, 2024 1

It does look like it's a rate limit error. I'll try and take a look

from trello-cli.

mheap avatar mheap commented on June 19, 2024 1

I've picked this up again and can't seem to get to the bottom of it. I'm respecting rate limits as documented on https://help.trello.com/article/838-api-rate-limits on my local branch and still getting rate limited, despite the headers saying that I'm fine

X-RATE-LIMIT-API-KEY-INTERVAL-MS: 10000
X-RATE-LIMIT-API-KEY-MAX: 300
X-RATE-LIMIT-API-KEY-REMAINING: 299
X-RATE-LIMIT-API-TOKEN-INTERVAL-MS: 10000
X-RATE-LIMIT-API-TOKEN-MAX: 100
X-RATE-LIMIT-API-TOKEN-REMAINING: 99
X-RATE-LIMIT-MEMBER-INTERVAL-MS: 10000
X-RATE-LIMIT-MEMBER-MAX: 200
X-RATE-LIMIT-MEMBER-REMAINING: 199

I've raised a support ticket and will see what they suggest

from trello-cli.

kevinawoo avatar kevinawoo commented on June 19, 2024

Mine seems to be a rate limit issue

...
  statusCode: 429,
  responseBody:
   { error: 'RATE_LIMIT_EXCEEDED',
     message: 'Exceeded rate limit to /1/member' },
  statusMessage: 'Too Many Requests' }

from trello-cli.

tobybatch avatar tobybatch commented on June 19, 2024

Me too. I can see cards but trello refresh throws an error:

Organization, board, list, and user cache refreshed
/home/tobias/workspace/trello-cli/src/translator.js:114
            throw err;
            ^

Error: [object Object]
    at Request._callback (/home/tobias/workspace/trello-cli/node_modules/node-trello/lib/node-trello.js:88:13)
    at Request.self.callback (/home/tobias/workspace/trello-cli/node_modules/request/request.js:187:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/home/tobias/workspace/trello-cli/node_modules/request/request.js:1044:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (/home/tobias/workspace/trello-cli/node_modules/request/request.js:965:12)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)

from trello-cli.

baaart avatar baaart commented on June 19, 2024

Same here, I also do not see any of my boards, i assume it is because i cant refresh? Do you have any sollution for this problem maybe?

from trello-cli.

baaart avatar baaart commented on June 19, 2024

hi sorry, my bad, my error is slightly different, concerning self signed cert

.nvm/versions/node/v10.4.0/lib/node_modules/trello-cli/src/translator.js:170
          throw err;
          ^

Error: self signed certificate in certificate chain
    at TLSSocket.onConnectSecure (_tls_wrap.js:1055:34)
    at TLSSocket.emit (events.js:182:13)
    at TLSSocket._finishInit (_tls_wrap.js:635:8)

Do you know what is the issue here?

from trello-cli.

mheap avatar mheap commented on June 19, 2024

Got a response!

Thanks for writing in, and sorry for the trouble. The /1/members route has special rate-limiting rules, which you may be running into. These are not documented in that help article at the moment, but check out this page for more info: https://developers.trello.com/docs/rate-limits#section-special-route-limits.

I think the best bet for your use case would be to use the boards route, with the members=all parameter. Check out these links for more info: https://developers.trello.com/reference#boardsboardid-1 and https://developers.trello.com/reference#members-nested-resource. This would enable you to fetch all the members for your board in a single request.

I'll try and find time to fix the issue now that there's a proposed solution

from trello-cli.

mheap avatar mheap commented on June 19, 2024

@baaart That looks like an SSL issue. Could you raise another issue?

from trello-cli.

mheap avatar mheap commented on June 19, 2024

It's been a long time coming, but I just fixed this issue! trello-cli version 0.3.0 is now available via npm

from trello-cli.

JohnClema avatar JohnClema commented on June 19, 2024

Legend! Thanks @mheap

from trello-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.