Repository navigation
Trello: invite a Product Owner without a Trello account as a normal member - #124
Merged
Merged
Conversation
…ember Trello refuses "admin" for an email without a Trello account (403 "Bad member type", seen 2026-11-12 on every Project with a dummy Product Owner), so Check members failed. HttpTrello.invite now falls back to "normal", and Check members only makes them admin once they have an account and accepted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the "Trello refused: Bad member type" the team got for every Project when pressing Check members (2026-11-12).
Cause
Trello refuses to make an email address without a Trello account an admin of a board. It answers
403 Bad member type, both on the invitation (PUT /boards/{id}/members?type=admin) and on a later promotion (PUT /boards/{id}/members/{member}?type=admin). The platform invites every Product Owner as admin, so every Project whose Product Owner has no Trello account yet failed (here: the dummy teacher addresses). The real try in October passed because that Product Owner already had an account.Confirmed on the old test board "PmpRealTest 0923" with a team address: invite as admin gave 403 Bad member type, invite as normal gave 200, promoting the unconfirmed member to admin gave 403. The probe member was removed afterwards and the board is unchanged.
Fix
HttpTrello.invite: on "Bad member type" for an admin invitation, invite as normal instead. Any other refusal, or the same one for a normal invitation, still fails.FakeTrellobehaves like Trello: no admin without an account, andset_member_typeto admin on an unconfirmed member raises.Tests
test_trello_client.pytests the real client withhttpx.MockTransport: the fallback to normal, and other refusals still failing.After the deploy: press Check members for all Projects again.
🤖 Generated with Claude Code