Skip to content

Team invitations on user #2065

Team invitations on user

Team invitations on user #2065

Triggered via pull request February 18, 2026 00:18
Status Failure
Total duration 13m 32s
Artifacts
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors
tests/backend/endpoints/api/v1/team-invitations.test.ts > does not return invitations for unverified emails: apps/e2e/tests/backend/backend-helpers.ts#L1425
Error: Snapshot `does not return invitations for unverified emails 4` mismatched - Expected + Received NiceResponse { - "status": 200, + "status": 404, "body": { - "id": "<stripped UUID>", - "success": true, + "code": "TEAM_MEMBERSHIP_NOT_FOUND", + "details": { + "team_id": "<stripped UUID>", + "user_id": "<stripped UUID>", + }, + "error": "User <stripped UUID> is not found in team <stripped UUID>.", + }, + "headers": Headers { + "x-stack-known-error": "TEAM_MEMBERSHIP_NOT_FOUND", + <some fields may have been hidden>, }, - "headers": Headers { <some fields may have been hidden> }, } ❯ Object.sendInvitation tests/backend/backend-helpers.ts:1425:22 ❯ tests/backend/endpoints/api/v1/team-invitations.test.ts:970:3
tests/backend/endpoints/api/v1/team-invitations.test.ts > returns empty list when user has no verified emails matching invitations: apps/e2e/tests/backend/backend-helpers.ts#L1425
Error: Snapshot `returns empty list when user has no verified emails matching invitations 4` mismatched - Expected + Received NiceResponse { - "status": 200, + "status": 404, "body": { - "id": "<stripped UUID>", - "success": true, + "code": "TEAM_MEMBERSHIP_NOT_FOUND", + "details": { + "team_id": "<stripped UUID>", + "user_id": "<stripped UUID>", + }, + "error": "User <stripped UUID> is not found in team <stripped UUID>.", + }, + "headers": Headers { + "x-stack-known-error": "TEAM_MEMBERSHIP_NOT_FOUND", + <some fields may have been hidden>, }, - "headers": Headers { <some fields may have been hidden> }, } ❯ Object.sendInvitation tests/backend/backend-helpers.ts:1425:22 ❯ tests/backend/endpoints/api/v1/team-invitations.test.ts:935:3
tests/backend/endpoints/api/v1/team-invitations.test.ts > can list invitations by user_id=me on the client: apps/e2e/tests/backend/backend-helpers.ts#L1425
Error: Snapshot `can list invitations by user_id=me on the client 4` mismatched - Expected + Received NiceResponse { - "status": 200, + "status": 404, "body": { - "id": "<stripped UUID>", - "success": true, + "code": "TEAM_MEMBERSHIP_NOT_FOUND", + "details": { + "team_id": "<stripped UUID>", + "user_id": "<stripped UUID>", + }, + "error": "User <stripped UUID> is not found in team <stripped UUID>.", + }, + "headers": Headers { + "x-stack-known-error": "TEAM_MEMBERSHIP_NOT_FOUND", + <some fields may have been hidden>, }, - "headers": Headers { <some fields may have been hidden> }, } ❯ Object.sendInvitation tests/backend/backend-helpers.ts:1425:22 ❯ tests/backend/endpoints/api/v1/team-invitations.test.ts:896:3
tests/backend/endpoints/api/v1/team-invitations.test.ts > can list invitations by user_id on the server: apps/e2e/tests/backend/backend-helpers.ts#L1425
Error: Snapshot `can list invitations by user_id on the server 4` mismatched - Expected + Received NiceResponse { - "status": 200, + "status": 404, "body": { - "id": "<stripped UUID>", - "success": true, + "code": "TEAM_MEMBERSHIP_NOT_FOUND", + "details": { + "team_id": "<stripped UUID>", + "user_id": "<stripped UUID>", + }, + "error": "User <stripped UUID> is not found in team <stripped UUID>.", + }, + "headers": Headers { + "x-stack-known-error": "TEAM_MEMBERSHIP_NOT_FOUND", + <some fields may have been hidden>, }, - "headers": Headers { <some fields may have been hidden> }, } ❯ Object.sendInvitation tests/backend/backend-helpers.ts:1425:22 ❯ tests/backend/endpoints/api/v1/team-invitations.test.ts:856:3
tests/js/team-invitations.test.ts > should accept a team invitation via the server SDK: apps/e2e/tests/js/team-invitations.test.ts#L273
StackAssertionError: Failed to send request to http://localhost:6702/api/v1/teams: 403 Client team creation is disabled for this project This is likely an error in Stack. Please make sure you are running the newest version and report it. ❯ StackClientInterface.sendClientRequestInner ../../packages/stack-shared/src/interface/client-interface.ts:453:24 ❯ Object.retry ../../packages/stack-shared/src/utils/results.tsx:374:17 ❯ StackClientInterface._networkRetry ../../packages/stack-shared/src/interface/client-interface.ts:131:27 ❯ StackClientInterface.sendClientRequest ../../packages/stack-shared/src/interface/client-interface.ts:232:12 ❯ StackClientInterface.createClientTeam ../../packages/stack-shared/src/interface/client-interface.ts:1448:22 ❯ Proxy.createTeam ../../packages/js/src/lib/stack-app/apps/implementations/client-app-impl.ts:1325:22 ❯ tests/js/team-invitations.test.ts:273:16 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { extraData: { request: { credentials: 'omit', method: 'POST', headers: { 'X-Stack-Override-Error-Status': 'true', 'X-Stack-Project-Id': '43464077-eb89-4963-aafe-391203482e8b', 'X-Stack-Access-Type': 'client', 'X-Stack-Client-Version': 'js @stackframe/js@2.8.68', 'X-Stack-Access-Token': '***', 'X-Stack-Refresh-Token': 'xfrdqf3h95jv78yrch7b56bg9mba4t78q4gdjann8887r', 'X-Stack-Allow-Anonymous-User': 'true', 'X-Stack-Publishable-Client-Key': 'pck_hcnymcr4tcdwdfg6jqtq8cny57fbgc6jq6g8sgjh7a5sg', 'X-Stack-Random-Nonce': 'gejb6nrthnf25brebagypnd95yy299r8jmm6z1bgm15a0', 'ngrok-skip-browser-warning': 'true', 'x-stack-disable-artificial-development-delay': 'yes', 'content-type': 'application/json' }, body: '{"display_name":"Server Accept Team","creator_user_id":"me"}', cache: 'no-store' }, res: { usedTokens: { accessToken: { token: '***', constructor: 'Function<_AccessToken>', payload: { sub: '193714b8-a535-403f-905c-e104f2710803', project_id: '43464077-eb89-4963-aafe-391203482e8b', branch_id: 'main', refresh_token_id: 'e9d18d94-96cb-40a6-a508-be1cd675092e', role: 'authenticated', name: null, email: 'server-accept-owner@test.com', email_verified: false, selected_team_id: null, is_anonymous: false, is_restricted: false, restricted_reason: null, iss: 'http://localhost:6702/api/v1/projects/43464077-eb89-4963-aafe-391203482e8b', iat: 1771374532, aud: '43464077-eb89-4963-aafe-391203482e8b', exp: 1771374592 }, expiresAt: '2026-02-18T00:29:52.000Z', issuedAt: '2026-02-18T00:28:52.000Z', expiresInMillis: 59631, issuedMillisAgo: 369, isExpired: 'Function<isExpired>' }, refreshToken: { token: 'xfrdqf3h95jv78yrch7b56bg9mba4t78q4gdjann8887r', constructor: 'Function<RefreshToken>' } }, constructor: 'Function<Response>', type: 'default', url: '', redirected: false, status: 403, ok: false, statusText: 'OK', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, path: '/teams' }, customCaptureExtraArgs: [ { request: { credentials: 'omit', method: 'POST', headers: { 'X-Stack-Override-Error-Status': 'true', 'X-Stack-Project-Id': '43464077-eb89-4963-aafe-391203482e8b', 'X-Stack-Access-Type': 'client', 'X-Stack-Client-Version': 'js @stackframe/js@2.8.68', 'X-Stack-Access-Token': '***', 'X-Stack-Refresh-Token': 'xfrdqf3h95jv78yrch7b56bg9mba4t78q4gdjann8887r', 'X-Stack-Allow-Anonymous-User': 'true', 'X-Stack-Publishable-Client-Key': 'pc
tests/js/team-invitations.test.ts > should accept a team invitation via the client SDK: apps/e2e/tests/js/team-invitations.test.ts#L215
StackAssertionError: Failed to send request to http://localhost:6702/api/v1/teams: 403 Client team creation is disabled for this project This is likely an error in Stack. Please make sure you are running the newest version and report it. ❯ StackClientInterface.sendClientRequestInner ../../packages/stack-shared/src/interface/client-interface.ts:453:24 ❯ Object.retry ../../packages/stack-shared/src/utils/results.tsx:374:17 ❯ StackClientInterface._networkRetry ../../packages/stack-shared/src/interface/client-interface.ts:131:27 ❯ StackClientInterface.sendClientRequest ../../packages/stack-shared/src/interface/client-interface.ts:232:12 ❯ StackClientInterface.createClientTeam ../../packages/stack-shared/src/interface/client-interface.ts:1448:22 ❯ Proxy.createTeam ../../packages/js/src/lib/stack-app/apps/implementations/client-app-impl.ts:1325:22 ❯ tests/js/team-invitations.test.ts:215:16 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { extraData: { request: { credentials: 'omit', method: 'POST', headers: { 'X-Stack-Override-Error-Status': 'true', 'X-Stack-Project-Id': '6fd97149-2fbc-4088-8350-3322167374e9', 'X-Stack-Access-Type': 'client', 'X-Stack-Client-Version': 'js @stackframe/js@2.8.68', 'X-Stack-Access-Token': '***', 'X-Stack-Refresh-Token': '7bcy3yggcp0s3ts3wa5b7rraw3y0qkqaq09jyxs85q24g', 'X-Stack-Allow-Anonymous-User': 'true', 'X-Stack-Publishable-Client-Key': 'pck_wmb55k744xdzx5em6gbs6nbx2jjt68a3hmpdw59wswvg0', 'X-Stack-Random-Nonce': 'xp6t5v7c9yj48v3k6nkf4a2wewrsnje637ctyb761r4yg', 'ngrok-skip-browser-warning': 'true', 'x-stack-disable-artificial-development-delay': 'yes', 'content-type': 'application/json' }, body: '{"display_name":"Accept Test Team","creator_user_id":"me"}', cache: 'no-store' }, res: { usedTokens: { accessToken: { token: '***', constructor: 'Function<_AccessToken>', payload: { sub: '2686bc75-c645-4972-acee-c0a18e8f9878', project_id: '6fd97149-2fbc-4088-8350-3322167374e9', branch_id: 'main', refresh_token_id: '2089914a-39aa-49fe-9cd8-9f466b36cb65', role: 'authenticated', name: null, email: 'accept-owner@test.com', email_verified: false, selected_team_id: null, is_anonymous: false, is_restricted: false, restricted_reason: null, iss: 'http://localhost:6702/api/v1/projects/6fd97149-2fbc-4088-8350-3322167374e9', iat: 1771374530, aud: '6fd97149-2fbc-4088-8350-3322167374e9', exp: 1771374590 }, expiresAt: '2026-02-18T00:29:50.000Z', issuedAt: '2026-02-18T00:28:50.000Z', expiresInMillis: 59847, issuedMillisAgo: 153, isExpired: 'Function<isExpired>' }, refreshToken: { token: '7bcy3yggcp0s3ts3wa5b7rraw3y0qkqaq09jyxs85q24g', constructor: 'Function<RefreshToken>' } }, constructor: 'Function<Response>', type: 'default', url: '', redirected: false, status: 403, ok: false, statusText: 'OK', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, path: '/teams' }, customCaptureExtraArgs: [ { request: { credentials: 'omit', method: 'POST', headers: { 'X-Stack-Override-Error-Status': 'true', 'X-Stack-Project-Id': '6fd97149-2fbc-4088-8350-3322167374e9', 'X-Stack-Access-Type': 'client', 'X-Stack-Client-Version': 'js @stackframe/js@2.8.68', 'X-Stack-Access-Token': '***', 'X-Stack-Refresh-Token': '7bcy3yggcp0s3ts3wa5b7rraw3y0qkqaq09jyxs85q24g', 'X-Stack-Allow-Anonymous-User': 'true', 'X-Stack-Publishable-Client-Key': 'pck_wmb55k7
tests/js/team-invitations.test.ts > should list invitations from multiple teams: apps/e2e/tests/js/team-invitations.test.ts#L168
StackAssertionError: Failed to send request to http://localhost:6702/api/v1/teams: 403 Client team creation is disabled for this project This is likely an error in Stack. Please make sure you are running the newest version and report it. ❯ StackClientInterface.sendClientRequestInner ../../packages/stack-shared/src/interface/client-interface.ts:453:24 ❯ Object.retry ../../packages/stack-shared/src/utils/results.tsx:374:17 ❯ StackClientInterface._networkRetry ../../packages/stack-shared/src/interface/client-interface.ts:131:27 ❯ StackClientInterface.sendClientRequest ../../packages/stack-shared/src/interface/client-interface.ts:232:12 ❯ StackClientInterface.createClientTeam ../../packages/stack-shared/src/interface/client-interface.ts:1448:22 ❯ Proxy.createTeam ../../packages/js/src/lib/stack-app/apps/implementations/client-app-impl.ts:1325:22 ❯ tests/js/team-invitations.test.ts:168:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { extraData: { request: { credentials: 'omit', method: 'POST', headers: { 'X-Stack-Override-Error-Status': 'true', 'X-Stack-Project-Id': '2e6da1ab-9194-4432-80e5-99423c3600ab', 'X-Stack-Access-Type': 'client', 'X-Stack-Client-Version': 'js @stackframe/js@2.8.68', 'X-Stack-Access-Token': '***', 'X-Stack-Refresh-Token': 'evkpac5v4mxcnc8twqb5b29e28xf7y4xqdcdt9tzxs6f8', 'X-Stack-Allow-Anonymous-User': 'true', 'X-Stack-Publishable-Client-Key': 'pck_ve5c83tcmyphm3wcfmnjhq6mmnf836qem70x8dwsadczg', 'X-Stack-Random-Nonce': '6hs4byvmcf0qtb1erry62h24j6mf1q76dpj5y8x7c30k0', 'ngrok-skip-browser-warning': 'true', 'x-stack-disable-artificial-development-delay': 'yes', 'content-type': 'application/json' }, body: '{"display_name":"Team Alpha","creator_user_id":"me"}', cache: 'no-store' }, res: { usedTokens: { accessToken: { token: '***', constructor: 'Function<_AccessToken>', payload: { sub: 'b59ca98a-5811-461c-bc0c-8cace457aeee', project_id: '2e6da1ab-9194-4432-80e5-99423c3600ab', branch_id: 'main', refresh_token_id: 'a4000542-1ecd-438f-a815-15c0cf7828ba', role: 'authenticated', name: null, email: 'multi-owner@test.com', email_verified: false, selected_team_id: null, is_anonymous: false, is_restricted: false, restricted_reason: null, iss: 'http://localhost:6702/api/v1/projects/2e6da1ab-9194-4432-80e5-99423c3600ab', iat: 1771374527, aud: '2e6da1ab-9194-4432-80e5-99423c3600ab', exp: 1771374587 }, expiresAt: '2026-02-18T00:29:47.000Z', issuedAt: '2026-02-18T00:28:47.000Z', expiresInMillis: 58902, issuedMillisAgo: 1098, isExpired: 'Function<isExpired>' }, refreshToken: { token: 'evkpac5v4mxcnc8twqb5b29e28xf7y4xqdcdt9tzxs6f8', constructor: 'Function<RefreshToken>' } }, constructor: 'Function<Response>', type: 'default', url: '', redirected: false, status: 403, ok: false, statusText: 'OK', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, path: '/teams' }, customCaptureExtraArgs: [ { request: { credentials: 'omit', method: 'POST', headers: { 'X-Stack-Override-Error-Status': 'true', 'X-Stack-Project-Id': '2e6da1ab-9194-4432-80e5-99423c3600ab', 'X-Stack-Access-Type': 'client', 'X-Stack-Client-Version': 'js @stackframe/js@2.8.68', 'X-Stack-Access-Token': '***', 'X-Stack-Refresh-Token': 'evkpac5v4mxcnc8twqb5b29e28xf7y4xqdcdt9tzxs6f8', 'X-Stack-Allow-Anonymous-User': 'true', 'X-Stack-Publishable-Client-Key': 'pck_ve5c83tcmyphm
tests/js/team-invitations.test.ts > should not return invitations for unverified emails: apps/e2e/tests/js/team-invitations.test.ts#L133
StackAssertionError: Failed to send request to http://localhost:6702/api/v1/teams: 403 Client team creation is disabled for this project This is likely an error in Stack. Please make sure you are running the newest version and report it. ❯ StackClientInterface.sendClientRequestInner ../../packages/stack-shared/src/interface/client-interface.ts:453:24 ❯ Object.retry ../../packages/stack-shared/src/utils/results.tsx:374:17 ❯ StackClientInterface._networkRetry ../../packages/stack-shared/src/interface/client-interface.ts:131:27 ❯ StackClientInterface.sendClientRequest ../../packages/stack-shared/src/interface/client-interface.ts:232:12 ❯ StackClientInterface.createClientTeam ../../packages/stack-shared/src/interface/client-interface.ts:1448:22 ❯ Proxy.createTeam ../../packages/js/src/lib/stack-app/apps/implementations/client-app-impl.ts:1325:22 ❯ tests/js/team-invitations.test.ts:133:16 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { extraData: { request: { credentials: 'omit', method: 'POST', headers: { 'X-Stack-Override-Error-Status': 'true', 'X-Stack-Project-Id': '6bdcbe87-bfc5-431b-85a7-e47ffce49f6d', 'X-Stack-Access-Type': 'client', 'X-Stack-Client-Version': 'js @stackframe/js@2.8.68', 'X-Stack-Access-Token': '***', 'X-Stack-Refresh-Token': 'qb0j0917ey45ymvqp0761m3f9ygpe4b7shswsmzwye03r', 'X-Stack-Allow-Anonymous-User': 'true', 'X-Stack-Publishable-Client-Key': 'pck_zhw4tne03bbqqy46ex2bjs74scecvwbc09zd6c0ssj730', 'X-Stack-Random-Nonce': 'xqae4xxp1w61ezpgfvr1ggascaft1v20mz2q4k29cj5m8', 'ngrok-skip-browser-warning': 'true', 'x-stack-disable-artificial-development-delay': 'yes', 'content-type': 'application/json' }, body: '{"display_name":"Unverified Test","creator_user_id":"me"}', cache: 'no-store' }, res: { usedTokens: { accessToken: { token: '***', constructor: 'Function<_AccessToken>', payload: { sub: '128285af-46a2-4d5c-bb5d-7f7311cbb807', project_id: '6bdcbe87-bfc5-431b-85a7-e47ffce49f6d', branch_id: 'main', refresh_token_id: 'b9874770-62a8-452f-b206-cce6d4b1ff41', role: 'authenticated', name: null, email: 'unverified-owner@test.com', email_verified: false, selected_team_id: null, is_anonymous: false, is_restricted: false, restricted_reason: null, iss: 'http://localhost:6702/api/v1/projects/6bdcbe87-bfc5-431b-85a7-e47ffce49f6d', iat: 1771374525, aud: '6bdcbe87-bfc5-431b-85a7-e47ffce49f6d', exp: 1771374585 }, expiresAt: '2026-02-18T00:29:45.000Z', issuedAt: '2026-02-18T00:28:45.000Z', expiresInMillis: 59114, issuedMillisAgo: 886, isExpired: 'Function<isExpired>' }, refreshToken: { token: 'qb0j0917ey45ymvqp0761m3f9ygpe4b7shswsmzwye03r', constructor: 'Function<RefreshToken>' } }, constructor: 'Function<Response>', type: 'default', url: '', redirected: false, status: 403, ok: false, statusText: 'OK', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, path: '/teams' }, customCaptureExtraArgs: [ { request: { credentials: 'omit', method: 'POST', headers: { 'X-Stack-Override-Error-Status': 'true', 'X-Stack-Project-Id': '6bdcbe87-bfc5-431b-85a7-e47ffce49f6d', 'X-Stack-Access-Type': 'client', 'X-Stack-Client-Version': 'js @stackframe/js@2.8.68', 'X-Stack-Access-Token': '***', 'X-Stack-Refresh-Token': 'qb0j0917ey45ymvqp0761m3f9ygpe4b7shswsmzwye03r', 'X-Stack-Allow-Anonymous-User': 'true', 'X-Stack-Publishable-Client-Key': 'pck_zhw4
tests/js/team-invitations.test.ts > should list team invitations for a server user: apps/e2e/tests/js/team-invitations.test.ts#L93
StackAssertionError: Failed to send request to http://localhost:6702/api/v1/teams: 403 Client team creation is disabled for this project This is likely an error in Stack. Please make sure you are running the newest version and report it. ❯ StackClientInterface.sendClientRequestInner ../../packages/stack-shared/src/interface/client-interface.ts:453:24 ❯ Object.retry ../../packages/stack-shared/src/utils/results.tsx:374:17 ❯ StackClientInterface._networkRetry ../../packages/stack-shared/src/interface/client-interface.ts:131:27 ❯ StackClientInterface.sendClientRequest ../../packages/stack-shared/src/interface/client-interface.ts:232:12 ❯ StackClientInterface.createClientTeam ../../packages/stack-shared/src/interface/client-interface.ts:1448:22 ❯ Proxy.createTeam ../../packages/js/src/lib/stack-app/apps/implementations/client-app-impl.ts:1325:22 ❯ tests/js/team-invitations.test.ts:93:16 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { extraData: { request: { credentials: 'omit', method: 'POST', headers: { 'X-Stack-Override-Error-Status': 'true', 'X-Stack-Project-Id': '9c2b5d69-2022-4af2-aa6a-b75da46c0319', 'X-Stack-Access-Type': 'client', 'X-Stack-Client-Version': 'js @stackframe/js@2.8.68', 'X-Stack-Access-Token': '***', 'X-Stack-Refresh-Token': 'zcnhwmq4bdwryqb04pmdft17280f7rdzh0yjnf6bx5t2g', 'X-Stack-Allow-Anonymous-User': 'true', 'X-Stack-Publishable-Client-Key': 'pck_b6mtb2e4mfcbcf89rwc5v1wyk2vd5d6ysewy1x181fbqg', 'X-Stack-Random-Nonce': '64418qnea08y54mqm1cszwy9shhh7jhc0srhf8h39dter', 'ngrok-skip-browser-warning': 'true', 'x-stack-disable-artificial-development-delay': 'yes', 'content-type': 'application/json' }, body: '{"display_name":"Server Test Team","creator_user_id":"me"}', cache: 'no-store' }, res: { usedTokens: { accessToken: { token: '***', constructor: 'Function<_AccessToken>', payload: { sub: '91d7aaec-632a-4913-befb-c4976cbb3588', project_id: '9c2b5d69-2022-4af2-aa6a-b75da46c0319', branch_id: 'main', refresh_token_id: 'e70e68a1-d2a0-49b7-a5d4-73aa96b93602', role: 'authenticated', name: null, email: 'server-owner@test.com', email_verified: false, selected_team_id: null, is_anonymous: false, is_restricted: false, restricted_reason: null, iss: 'http://localhost:6702/api/v1/projects/9c2b5d69-2022-4af2-aa6a-b75da46c0319', iat: 1771374524, aud: '9c2b5d69-2022-4af2-aa6a-b75da46c0319', exp: 1771374584 }, expiresAt: '2026-02-18T00:29:44.000Z', issuedAt: '2026-02-18T00:28:44.000Z', expiresInMillis: 59921, issuedMillisAgo: 79, isExpired: 'Function<isExpired>' }, refreshToken: { token: 'zcnhwmq4bdwryqb04pmdft17280f7rdzh0yjnf6bx5t2g', constructor: 'Function<RefreshToken>' } }, constructor: 'Function<Response>', type: 'default', url: '', redirected: false, status: 403, ok: false, statusText: 'OK', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, path: '/teams' }, customCaptureExtraArgs: [ { request: { credentials: 'omit', method: 'POST', headers: { 'X-Stack-Override-Error-Status': 'true', 'X-Stack-Project-Id': '9c2b5d69-2022-4af2-aa6a-b75da46c0319', 'X-Stack-Access-Type': 'client', 'X-Stack-Client-Version': 'js @stackframe/js@2.8.68', 'X-Stack-Access-Token': '***', 'X-Stack-Refresh-Token': 'zcnhwmq4bdwryqb04pmdft17280f7rdzh0yjnf6bx5t2g', 'X-Stack-Allow-Anonymous-User': 'true', 'X-Stack-Publishable-Client-Key': 'pck_b6mtb2e4m
tests/js/team-invitations.test.ts > should list team invitations for the current user via the client SDK: apps/e2e/tests/js/team-invitations.test.ts#L19
StackAssertionError: Failed to send request to http://localhost:6702/api/v1/teams: 403 Client team creation is disabled for this project This is likely an error in Stack. Please make sure you are running the newest version and report it. ❯ StackClientInterface.sendClientRequestInner ../../packages/stack-shared/src/interface/client-interface.ts:453:24 ❯ Object.retry ../../packages/stack-shared/src/utils/results.tsx:374:17 ❯ StackClientInterface._networkRetry ../../packages/stack-shared/src/interface/client-interface.ts:131:27 ❯ StackClientInterface.sendClientRequest ../../packages/stack-shared/src/interface/client-interface.ts:232:12 ❯ StackClientInterface.createClientTeam ../../packages/stack-shared/src/interface/client-interface.ts:1448:22 ❯ Proxy.createTeam ../../packages/js/src/lib/stack-app/apps/implementations/client-app-impl.ts:1325:22 ❯ tests/js/team-invitations.test.ts:19:16 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { extraData: { request: { credentials: 'omit', method: 'POST', headers: { 'X-Stack-Override-Error-Status': 'true', 'X-Stack-Project-Id': 'b51c900f-f179-466f-a54a-f4d3d3d22b32', 'X-Stack-Access-Type': 'client', 'X-Stack-Client-Version': 'js @stackframe/js@2.8.68', 'X-Stack-Access-Token': '***', 'X-Stack-Refresh-Token': 'zdnvp11w0x0hzkkqddset3dd63vx5x0mcxqh5tapqcg4g', 'X-Stack-Allow-Anonymous-User': 'true', 'X-Stack-Publishable-Client-Key': 'pck_5rbyf6bcfj4xxzqshr5mhep3x18ve6cyw9fxt53915smg', 'X-Stack-Random-Nonce': 'fnkvpfrwzhegh83j8k2d1wqgdhc0jwcf1xkzjye2xw7r0', 'ngrok-skip-browser-warning': 'true', 'x-stack-disable-artificial-development-delay': 'yes', 'content-type': 'application/json' }, body: '{"display_name":"Inviting Team","creator_user_id":"me"}', cache: 'no-store' }, res: { usedTokens: { accessToken: { token: '***', constructor: 'Function<_AccessToken>', payload: { sub: '795b29e6-00d3-467a-9f53-960dedea5157', project_id: 'b51c900f-f179-466f-a54a-f4d3d3d22b32', branch_id: 'main', refresh_token_id: '2eb76645-1c8a-488e-a7fc-6d72341f8107', role: 'authenticated', name: null, email: 'team-owner@test.com', email_verified: false, selected_team_id: null, is_anonymous: false, is_restricted: false, restricted_reason: null, iss: 'http://localhost:6702/api/v1/projects/b51c900f-f179-466f-a54a-f4d3d3d22b32', iat: 1771374520, aud: 'b51c900f-f179-466f-a54a-f4d3d3d22b32', exp: 1771374580 }, expiresAt: '2026-02-18T00:29:40.000Z', issuedAt: '2026-02-18T00:28:40.000Z', expiresInMillis: 59567, issuedMillisAgo: 433, isExpired: 'Function<isExpired>' }, refreshToken: { token: 'zdnvp11w0x0hzkkqddset3dd63vx5x0mcxqh5tapqcg4g', constructor: 'Function<RefreshToken>' } }, constructor: 'Function<Response>', type: 'default', url: '', redirected: false, status: 403, ok: false, statusText: 'OK', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, path: '/teams' }, customCaptureExtraArgs: [ { request: { credentials: 'omit', method: 'POST', headers: { 'X-Stack-Override-Error-Status': 'true', 'X-Stack-Project-Id': 'b51c900f-f179-466f-a54a-f4d3d3d22b32', 'X-Stack-Access-Type': 'client', 'X-Stack-Client-Version': 'js @stackframe/js@2.8.68', 'X-Stack-Access-Token': '***', 'X-Stack-Refresh-Token': 'zdnvp11w0x0hzkkqddset3dd63vx5x0mcxqh5tapqcg4g', 'X-Stack-Allow-Anonymous-User': 'true', 'X-Stack-Publishable-Client-Key': 'pck_5rbyf6bcfj4xx