Hi. I have implemented Trello search API to fetch the member and its related bords and cards (https://api.trello.com/1/search?query=member:{member_id}&card_fields=name,shortLink,idBoard&cards_limit=1000&card_board=true&key={key}&token={token}).
I tested the API with a few accounts but the issue is it does return cards and boards of only one account but not for the others although it does return the member information for other accounts but not cards and boards. Is there any issue regarding the account setup or what, as I set up all accounts with the same configurations?
Moreover, I tired this API as well (https://api.trello.com/1/members/{memeber)id}?key={key}&token={token}&cards=all&boards=all&board_lists=all) but still the same issue.
Any help will be appreciated.
Thanks
Hey there,
Vishaal here with the Trello Team—Thanks for reaching out
It's possible that the discrepancy you're observing stems from a few key factors. Firstly, ensure that the token you're using for the API has the correct permissions; it should reflect the access rights of the associated user. If a user doesn't have access to a certain board, the API won't display its cards, even when querying for another member. Additionally, each board on Trello has its own visibility settings (private, team, or public). If a board is private and the querying member isn't part of it, it won't appear in the results. It's also essential to confirm that the member in question has associated boards and cards by checking manually on the Trello web interface.
In future, For a question like this, Trello's Developer Community is really your best bet: https://community.developer.atlassian.com/c/trello/42
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.