Skip to content

fix: handle 404 in team_member Read without string matching#783

Open
bennettip wants to merge 1 commit intojianyuan:mainfrom
bennettip:bip/fix
Open

fix: handle 404 in team_member Read without string matching#783
bennettip wants to merge 1 commit intojianyuan:mainfrom
bennettip:bip/fix

Conversation

@bennettip
Copy link

@bennettip bennettip commented Mar 11, 2026

Fixes the same issue as #777 (and the original #655/#447).

Instead of using pattern matching to try to capture different 404 messages, this PR checks the HTTP status codes directly from the source (getEffectiveTeamRole()) and returns non found error if 404 is encounted.

@bennettip bennettip marked this pull request as ready for review March 11, 2026 07:46
@bennettip bennettip changed the title fix: handle 404 in team_member Read without string matchin fix: handle 404 in team_member Read without string matching Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant