Skip to content

feat: add a method to connect OpenAI agent to call (#82) #260

feat: add a method to connect OpenAI agent to call (#82)

feat: add a method to connect OpenAI agent to call (#82) #260

Triggered via push February 18, 2025 16:32
Status Failure
Total duration 4m 36s
Artifacts

test.yml

on: push
Matrix: test-node
Fit to window
Zoom out
Zoom in

Annotations

40 errors
__tests__/call.test.ts > call API > recording > enable call recording: src/BaseApi.ts#L65
Error: Stream error code 4: UpdateCall failed with error: "recording quality is required when audio_only is false and recording is enabled" ❯ StreamVideoClient.BaseApi.sendRequest src/BaseApi.ts:65:15 ❯ StreamVideoClient.VideoApi.updateCall src/gen/video/VideoApi.ts:192:22 ❯ __tests__/call.test.ts:173:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '99a13c88-3993-4f95-a835-9cc1bfdeb143', responseHeaders: { 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>' }, responseCode: 400, rateLimit: { rateLimit: 1000000, rateLimitRemaining: 999997, rateLimitReset: { constructor: 'Function<Date>', toString: 'Function<toString>', toDateString: 'Function<toDateString>', toTimeString: 'Function<toTimeString>', toISOString: 'Function<toISOString>', toUTCString: 'Function<toUTCString>', toGMTString: 'Function<toUTCString>', getDate: 'Function<getDate>', setDate: 'Function<setDate>', getDay: 'Function<getDay>', getFullYear: 'Function<getFullYear>', setFullYear: 'Function<setFullYear>', getHours: 'Function<getHours>', setHours: 'Function<setHours>', getMilliseconds: 'Function<getMilliseconds>', setMilliseconds: 'Function<setMilliseconds>', getMinutes: 'Function<getMinutes>', setMinutes: 'Function<setMinutes>', getMonth: 'Function<getMonth>', setMonth: 'Function<setMonth>', getSeconds: 'Function<getSeconds>', setSeconds: 'Function<setSeconds>', getTime: 'Function<getTime>', setTime: 'Function<setTime>', getTimezoneOffset: 'Function<getTimezoneOffset>', getUTCDate: 'Function<getUTCDate>', setUTCDate: 'Function<setUTCDate>', getUTCDay: 'Function<getUTCDay>', getUTCFullYear: 'Function<getUTCFullYear>', setUTCFullYear: 'Function<setUTCFullYear>', getUTCHours: 'Function<getUTCHours>', setUTCHours: 'Function<setUTCHours>', getUTCMilliseconds: 'Function<getUTCMilliseconds>', setUTCMilliseconds: 'Function<setUTCMilliseconds>', getUTCMinutes: 'Function<getUTCMinutes>', setUTCMinutes: 'Function<setUTCMinutes>', getUTCMonth: 'Function<getUTCMonth>', setUTCMonth: 'Function<setUTCMonth>', getUTCSeconds: 'Function<getUTCSeconds>', setUTCSeconds: 'Function<setUTCSeconds>', valueOf: 'Function<valueOf>', getYear: 'Function<getYear>', setYear: 'Function<setYear>', toJSON: 'Function<toJSON>', toLocaleString: 'Function<toLocaleString>', toLocaleDateString: 'Function<toLocaleDateString>', toLocaleTimeString: 'Function<toLocaleTimeString>' } } }, code: 4 }
__tests__/call.test.ts > call API > recording > enable call recording: src/BaseApi.ts#L65
Error: Stream error code 4: UpdateCall failed with error: "recording quality is required when audio_only is false and recording is enabled" ❯ StreamVideoClient.BaseApi.sendRequest src/BaseApi.ts:65:15 ❯ StreamVideoClient.VideoApi.updateCall src/gen/video/VideoApi.ts:192:22 ❯ __tests__/call.test.ts:173:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '4e32b93a-a732-4f71-be2f-907b9e4f9ea6', responseHeaders: { 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>' }, responseCode: 400, rateLimit: { rateLimit: 1000000, rateLimitRemaining: 999995, rateLimitReset: { constructor: 'Function<Date>', toString: 'Function<toString>', toDateString: 'Function<toDateString>', toTimeString: 'Function<toTimeString>', toISOString: 'Function<toISOString>', toUTCString: 'Function<toUTCString>', toGMTString: 'Function<toUTCString>', getDate: 'Function<getDate>', setDate: 'Function<setDate>', getDay: 'Function<getDay>', getFullYear: 'Function<getFullYear>', setFullYear: 'Function<setFullYear>', getHours: 'Function<getHours>', setHours: 'Function<setHours>', getMilliseconds: 'Function<getMilliseconds>', setMilliseconds: 'Function<setMilliseconds>', getMinutes: 'Function<getMinutes>', setMinutes: 'Function<setMinutes>', getMonth: 'Function<getMonth>', setMonth: 'Function<setMonth>', getSeconds: 'Function<getSeconds>', setSeconds: 'Function<setSeconds>', getTime: 'Function<getTime>', setTime: 'Function<setTime>', getTimezoneOffset: 'Function<getTimezoneOffset>', getUTCDate: 'Function<getUTCDate>', setUTCDate: 'Function<setUTCDate>', getUTCDay: 'Function<getUTCDay>', getUTCFullYear: 'Function<getUTCFullYear>', setUTCFullYear: 'Function<setUTCFullYear>', getUTCHours: 'Function<getUTCHours>', setUTCHours: 'Function<setUTCHours>', getUTCMilliseconds: 'Function<getUTCMilliseconds>', setUTCMilliseconds: 'Function<setUTCMilliseconds>', getUTCMinutes: 'Function<getUTCMinutes>', setUTCMinutes: 'Function<setUTCMinutes>', getUTCMonth: 'Function<getUTCMonth>', setUTCMonth: 'Function<setUTCMonth>', getUTCSeconds: 'Function<getUTCSeconds>', setUTCSeconds: 'Function<setUTCSeconds>', valueOf: 'Function<valueOf>', getYear: 'Function<getYear>', setYear: 'Function<setYear>', toJSON: 'Function<toJSON>', toLocaleString: 'Function<toLocaleString>', toLocaleDateString: 'Function<toLocaleDateString>', toLocaleTimeString: 'Function<toLocaleTimeString>' } } }, code: 4 }
__tests__/call.test.ts > call API > recording > enable call recording: src/BaseApi.ts#L65
Error: Stream error code 4: UpdateCall failed with error: "recording quality is required when audio_only is false and recording is enabled" ❯ StreamVideoClient.BaseApi.sendRequest src/BaseApi.ts:65:15 ❯ StreamVideoClient.VideoApi.updateCall src/gen/video/VideoApi.ts:192:22 ❯ __tests__/call.test.ts:173:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '55101805-f218-47ee-9bbd-c5e7c3c8ffce', responseHeaders: { 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>' }, responseCode: 400, rateLimit: { rateLimit: 1000000, rateLimitRemaining: 999993, rateLimitReset: { constructor: 'Function<Date>', toString: 'Function<toString>', toDateString: 'Function<toDateString>', toTimeString: 'Function<toTimeString>', toISOString: 'Function<toISOString>', toUTCString: 'Function<toUTCString>', toGMTString: 'Function<toUTCString>', getDate: 'Function<getDate>', setDate: 'Function<setDate>', getDay: 'Function<getDay>', getFullYear: 'Function<getFullYear>', setFullYear: 'Function<setFullYear>', getHours: 'Function<getHours>', setHours: 'Function<setHours>', getMilliseconds: 'Function<getMilliseconds>', setMilliseconds: 'Function<setMilliseconds>', getMinutes: 'Function<getMinutes>', setMinutes: 'Function<setMinutes>', getMonth: 'Function<getMonth>', setMonth: 'Function<setMonth>', getSeconds: 'Function<getSeconds>', setSeconds: 'Function<setSeconds>', getTime: 'Function<getTime>', setTime: 'Function<setTime>', getTimezoneOffset: 'Function<getTimezoneOffset>', getUTCDate: 'Function<getUTCDate>', setUTCDate: 'Function<setUTCDate>', getUTCDay: 'Function<getUTCDay>', getUTCFullYear: 'Function<getUTCFullYear>', setUTCFullYear: 'Function<setUTCFullYear>', getUTCHours: 'Function<getUTCHours>', setUTCHours: 'Function<setUTCHours>', getUTCMilliseconds: 'Function<getUTCMilliseconds>', setUTCMilliseconds: 'Function<setUTCMilliseconds>', getUTCMinutes: 'Function<getUTCMinutes>', setUTCMinutes: 'Function<setUTCMinutes>', getUTCMonth: 'Function<getUTCMonth>', setUTCMonth: 'Function<setUTCMonth>', getUTCSeconds: 'Function<getUTCSeconds>', setUTCSeconds: 'Function<setUTCSeconds>', valueOf: 'Function<valueOf>', getYear: 'Function<getYear>', setYear: 'Function<setYear>', toJSON: 'Function<toJSON>', toLocaleString: 'Function<toLocaleString>', toLocaleDateString: 'Function<toLocaleDateString>', toLocaleTimeString: 'Function<toLocaleTimeString>' } } }, code: 4 }
__tests__/call.test.ts > call API > recording > enable call recording: src/BaseApi.ts#L65
Error: Stream error code 4: UpdateCall failed with error: "recording quality is required when audio_only is false and recording is enabled" ❯ StreamVideoClient.BaseApi.sendRequest src/BaseApi.ts:65:15 ❯ StreamVideoClient.VideoApi.updateCall src/gen/video/VideoApi.ts:192:22 ❯ __tests__/call.test.ts:173:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '66a394aa-7aa5-4e98-8ff4-cc6db6bda297', responseHeaders: { 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>' }, responseCode: 400, rateLimit: { rateLimit: 1000000, rateLimitRemaining: 999991, rateLimitReset: { constructor: 'Function<Date>', toString: 'Function<toString>', toDateString: 'Function<toDateString>', toTimeString: 'Function<toTimeString>', toISOString: 'Function<toISOString>', toUTCString: 'Function<toUTCString>', toGMTString: 'Function<toUTCString>', getDate: 'Function<getDate>', setDate: 'Function<setDate>', getDay: 'Function<getDay>', getFullYear: 'Function<getFullYear>', setFullYear: 'Function<setFullYear>', getHours: 'Function<getHours>', setHours: 'Function<setHours>', getMilliseconds: 'Function<getMilliseconds>', setMilliseconds: 'Function<setMilliseconds>', getMinutes: 'Function<getMinutes>', setMinutes: 'Function<setMinutes>', getMonth: 'Function<getMonth>', setMonth: 'Function<setMonth>', getSeconds: 'Function<getSeconds>', setSeconds: 'Function<setSeconds>', getTime: 'Function<getTime>', setTime: 'Function<setTime>', getTimezoneOffset: 'Function<getTimezoneOffset>', getUTCDate: 'Function<getUTCDate>', setUTCDate: 'Function<setUTCDate>', getUTCDay: 'Function<getUTCDay>', getUTCFullYear: 'Function<getUTCFullYear>', setUTCFullYear: 'Function<setUTCFullYear>', getUTCHours: 'Function<getUTCHours>', setUTCHours: 'Function<setUTCHours>', getUTCMilliseconds: 'Function<getUTCMilliseconds>', setUTCMilliseconds: 'Function<setUTCMilliseconds>', getUTCMinutes: 'Function<getUTCMinutes>', setUTCMinutes: 'Function<setUTCMinutes>', getUTCMonth: 'Function<getUTCMonth>', setUTCMonth: 'Function<setUTCMonth>', getUTCSeconds: 'Function<getUTCSeconds>', setUTCSeconds: 'Function<setUTCSeconds>', valueOf: 'Function<valueOf>', getYear: 'Function<getYear>', setYear: 'Function<setYear>', toJSON: 'Function<toJSON>', toLocaleString: 'Function<toLocaleString>', toLocaleDateString: 'Function<toLocaleDateString>', toLocaleTimeString: 'Function<toLocaleTimeString>' } } }, code: 4 }
__tests__/call.test.ts > call API > recording > start recording: __tests__/call.test.ts#L201
AssertionError: expected [Function] to throw error including 'Stream error code 4: StartRecording f…' but got 'Stream error code 4: StartRecording f…' - Expected + Received - Stream error code 4: StartRecording failed with error: "there is no active session" + Stream error code 4: StartRecording failed with error: "recording is disabled for this call" ❯ __tests__/call.test.ts:201:7
__tests__/call.test.ts > call API > recording > start recording: __tests__/call.test.ts#L201
AssertionError: expected [Function] to throw error including 'Stream error code 4: StartRecording f…' but got 'Stream error code 4: StartRecording f…' - Expected + Received - Stream error code 4: StartRecording failed with error: "there is no active session" + Stream error code 4: StartRecording failed with error: "recording is disabled for this call" ❯ __tests__/call.test.ts:201:7
__tests__/call.test.ts > call API > recording > start recording: __tests__/call.test.ts#L201
AssertionError: expected [Function] to throw error including 'Stream error code 4: StartRecording f…' but got 'Stream error code 4: StartRecording f…' - Expected + Received - Stream error code 4: StartRecording failed with error: "there is no active session" + Stream error code 4: StartRecording failed with error: "recording is disabled for this call" ❯ __tests__/call.test.ts:201:7
__tests__/call.test.ts > call API > recording > start recording: __tests__/call.test.ts#L201
AssertionError: expected [Function] to throw error including 'Stream error code 4: StartRecording f…' but got 'Stream error code 4: StartRecording f…' - Expected + Received - Stream error code 4: StartRecording failed with error: "there is no active session" + Stream error code 4: StartRecording failed with error: "recording is disabled for this call" ❯ __tests__/call.test.ts:201:7
test-node (20)
Process completed with exit code 1.
__tests__/call.test.ts > call API > recording > enable call recording: src/BaseApi.ts#L65
Error: Stream error code 4: UpdateCall failed with error: "recording quality is required when audio_only is false and recording is enabled" ❯ StreamVideoClient.BaseApi.sendRequest src/BaseApi.ts:65:15 ❯ StreamVideoClient.VideoApi.updateCall src/gen/video/VideoApi.ts:192:22 ❯ __tests__/call.test.ts:173:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: 'a0ad5263-89d5-4eb5-aa81-d2283d5c5a76', responseHeaders: { 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>' }, responseCode: 400, rateLimit: { rateLimit: 1000000, rateLimitRemaining: 999978, rateLimitReset: { constructor: 'Function<Date>', toString: 'Function<toString>', toDateString: 'Function<toDateString>', toTimeString: 'Function<toTimeString>', toISOString: 'Function<toISOString>', toUTCString: 'Function<toUTCString>', toGMTString: 'Function<toUTCString>', getDate: 'Function<getDate>', setDate: 'Function<setDate>', getDay: 'Function<getDay>', getFullYear: 'Function<getFullYear>', setFullYear: 'Function<setFullYear>', getHours: 'Function<getHours>', setHours: 'Function<setHours>', getMilliseconds: 'Function<getMilliseconds>', setMilliseconds: 'Function<setMilliseconds>', getMinutes: 'Function<getMinutes>', setMinutes: 'Function<setMinutes>', getMonth: 'Function<getMonth>', setMonth: 'Function<setMonth>', getSeconds: 'Function<getSeconds>', setSeconds: 'Function<setSeconds>', getTime: 'Function<getTime>', setTime: 'Function<setTime>', getTimezoneOffset: 'Function<getTimezoneOffset>', getUTCDate: 'Function<getUTCDate>', setUTCDate: 'Function<setUTCDate>', getUTCDay: 'Function<getUTCDay>', getUTCFullYear: 'Function<getUTCFullYear>', setUTCFullYear: 'Function<setUTCFullYear>', getUTCHours: 'Function<getUTCHours>', setUTCHours: 'Function<setUTCHours>', getUTCMilliseconds: 'Function<getUTCMilliseconds>', setUTCMilliseconds: 'Function<setUTCMilliseconds>', getUTCMinutes: 'Function<getUTCMinutes>', setUTCMinutes: 'Function<setUTCMinutes>', getUTCMonth: 'Function<getUTCMonth>', setUTCMonth: 'Function<setUTCMonth>', getUTCSeconds: 'Function<getUTCSeconds>', setUTCSeconds: 'Function<setUTCSeconds>', valueOf: 'Function<valueOf>', getYear: 'Function<getYear>', setYear: 'Function<setYear>', toJSON: 'Function<toJSON>', toLocaleString: 'Function<toLocaleString>', toLocaleDateString: 'Function<toLocaleDateString>', toLocaleTimeString: 'Function<toLocaleTimeString>' } } }, code: 4 }
__tests__/call.test.ts > call API > recording > enable call recording: src/BaseApi.ts#L65
Error: Stream error code 4: UpdateCall failed with error: "recording quality is required when audio_only is false and recording is enabled" ❯ StreamVideoClient.BaseApi.sendRequest src/BaseApi.ts:65:15 ❯ StreamVideoClient.VideoApi.updateCall src/gen/video/VideoApi.ts:192:22 ❯ __tests__/call.test.ts:173:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: 'a068a33e-171d-4dae-adf9-0d0527313c30', responseHeaders: { 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>' }, responseCode: 400, rateLimit: { rateLimit: 1000000, rateLimitRemaining: 999972, rateLimitReset: { constructor: 'Function<Date>', toString: 'Function<toString>', toDateString: 'Function<toDateString>', toTimeString: 'Function<toTimeString>', toISOString: 'Function<toISOString>', toUTCString: 'Function<toUTCString>', toGMTString: 'Function<toUTCString>', getDate: 'Function<getDate>', setDate: 'Function<setDate>', getDay: 'Function<getDay>', getFullYear: 'Function<getFullYear>', setFullYear: 'Function<setFullYear>', getHours: 'Function<getHours>', setHours: 'Function<setHours>', getMilliseconds: 'Function<getMilliseconds>', setMilliseconds: 'Function<setMilliseconds>', getMinutes: 'Function<getMinutes>', setMinutes: 'Function<setMinutes>', getMonth: 'Function<getMonth>', setMonth: 'Function<setMonth>', getSeconds: 'Function<getSeconds>', setSeconds: 'Function<setSeconds>', getTime: 'Function<getTime>', setTime: 'Function<setTime>', getTimezoneOffset: 'Function<getTimezoneOffset>', getUTCDate: 'Function<getUTCDate>', setUTCDate: 'Function<setUTCDate>', getUTCDay: 'Function<getUTCDay>', getUTCFullYear: 'Function<getUTCFullYear>', setUTCFullYear: 'Function<setUTCFullYear>', getUTCHours: 'Function<getUTCHours>', setUTCHours: 'Function<setUTCHours>', getUTCMilliseconds: 'Function<getUTCMilliseconds>', setUTCMilliseconds: 'Function<setUTCMilliseconds>', getUTCMinutes: 'Function<getUTCMinutes>', setUTCMinutes: 'Function<setUTCMinutes>', getUTCMonth: 'Function<getUTCMonth>', setUTCMonth: 'Function<setUTCMonth>', getUTCSeconds: 'Function<getUTCSeconds>', setUTCSeconds: 'Function<setUTCSeconds>', valueOf: 'Function<valueOf>', getYear: 'Function<getYear>', setYear: 'Function<setYear>', toJSON: 'Function<toJSON>', toLocaleString: 'Function<toLocaleString>', toLocaleDateString: 'Function<toLocaleDateString>', toLocaleTimeString: 'Function<toLocaleTimeString>' } } }, code: 4 }
__tests__/call.test.ts > call API > recording > enable call recording: src/BaseApi.ts#L65
Error: Stream error code 4: UpdateCall failed with error: "recording quality is required when audio_only is false and recording is enabled" ❯ StreamVideoClient.BaseApi.sendRequest src/BaseApi.ts:65:15 ❯ StreamVideoClient.VideoApi.updateCall src/gen/video/VideoApi.ts:192:22 ❯ __tests__/call.test.ts:173:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '1806d297-84ea-4355-a705-25a5f80241ad', responseHeaders: { 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>' }, responseCode: 400, rateLimit: { rateLimit: 1000000, rateLimitRemaining: 999966, rateLimitReset: { constructor: 'Function<Date>', toString: 'Function<toString>', toDateString: 'Function<toDateString>', toTimeString: 'Function<toTimeString>', toISOString: 'Function<toISOString>', toUTCString: 'Function<toUTCString>', toGMTString: 'Function<toUTCString>', getDate: 'Function<getDate>', setDate: 'Function<setDate>', getDay: 'Function<getDay>', getFullYear: 'Function<getFullYear>', setFullYear: 'Function<setFullYear>', getHours: 'Function<getHours>', setHours: 'Function<setHours>', getMilliseconds: 'Function<getMilliseconds>', setMilliseconds: 'Function<setMilliseconds>', getMinutes: 'Function<getMinutes>', setMinutes: 'Function<setMinutes>', getMonth: 'Function<getMonth>', setMonth: 'Function<setMonth>', getSeconds: 'Function<getSeconds>', setSeconds: 'Function<setSeconds>', getTime: 'Function<getTime>', setTime: 'Function<setTime>', getTimezoneOffset: 'Function<getTimezoneOffset>', getUTCDate: 'Function<getUTCDate>', setUTCDate: 'Function<setUTCDate>', getUTCDay: 'Function<getUTCDay>', getUTCFullYear: 'Function<getUTCFullYear>', setUTCFullYear: 'Function<setUTCFullYear>', getUTCHours: 'Function<getUTCHours>', setUTCHours: 'Function<setUTCHours>', getUTCMilliseconds: 'Function<getUTCMilliseconds>', setUTCMilliseconds: 'Function<setUTCMilliseconds>', getUTCMinutes: 'Function<getUTCMinutes>', setUTCMinutes: 'Function<setUTCMinutes>', getUTCMonth: 'Function<getUTCMonth>', setUTCMonth: 'Function<setUTCMonth>', getUTCSeconds: 'Function<getUTCSeconds>', setUTCSeconds: 'Function<setUTCSeconds>', valueOf: 'Function<valueOf>', getYear: 'Function<getYear>', setYear: 'Function<setYear>', toJSON: 'Function<toJSON>', toLocaleString: 'Function<toLocaleString>', toLocaleDateString: 'Function<toLocaleDateString>', toLocaleTimeString: 'Function<toLocaleTimeString>' } } }, code: 4 }
__tests__/call.test.ts > call API > recording > enable call recording: src/BaseApi.ts#L65
Error: Stream error code 4: UpdateCall failed with error: "recording quality is required when audio_only is false and recording is enabled" ❯ StreamVideoClient.BaseApi.sendRequest src/BaseApi.ts:65:15 ❯ StreamVideoClient.VideoApi.updateCall src/gen/video/VideoApi.ts:192:22 ❯ __tests__/call.test.ts:173:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '45d9e844-d69d-4a5d-b931-615903ba5da3', responseHeaders: { 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>' }, responseCode: 400, rateLimit: { rateLimit: 1000000, rateLimitRemaining: 999963, rateLimitReset: { constructor: 'Function<Date>', toString: 'Function<toString>', toDateString: 'Function<toDateString>', toTimeString: 'Function<toTimeString>', toISOString: 'Function<toISOString>', toUTCString: 'Function<toUTCString>', toGMTString: 'Function<toUTCString>', getDate: 'Function<getDate>', setDate: 'Function<setDate>', getDay: 'Function<getDay>', getFullYear: 'Function<getFullYear>', setFullYear: 'Function<setFullYear>', getHours: 'Function<getHours>', setHours: 'Function<setHours>', getMilliseconds: 'Function<getMilliseconds>', setMilliseconds: 'Function<setMilliseconds>', getMinutes: 'Function<getMinutes>', setMinutes: 'Function<setMinutes>', getMonth: 'Function<getMonth>', setMonth: 'Function<setMonth>', getSeconds: 'Function<getSeconds>', setSeconds: 'Function<setSeconds>', getTime: 'Function<getTime>', setTime: 'Function<setTime>', getTimezoneOffset: 'Function<getTimezoneOffset>', getUTCDate: 'Function<getUTCDate>', setUTCDate: 'Function<setUTCDate>', getUTCDay: 'Function<getUTCDay>', getUTCFullYear: 'Function<getUTCFullYear>', setUTCFullYear: 'Function<setUTCFullYear>', getUTCHours: 'Function<getUTCHours>', setUTCHours: 'Function<setUTCHours>', getUTCMilliseconds: 'Function<getUTCMilliseconds>', setUTCMilliseconds: 'Function<setUTCMilliseconds>', getUTCMinutes: 'Function<getUTCMinutes>', setUTCMinutes: 'Function<setUTCMinutes>', getUTCMonth: 'Function<getUTCMonth>', setUTCMonth: 'Function<setUTCMonth>', getUTCSeconds: 'Function<getUTCSeconds>', setUTCSeconds: 'Function<setUTCSeconds>', valueOf: 'Function<valueOf>', getYear: 'Function<getYear>', setYear: 'Function<setYear>', toJSON: 'Function<toJSON>', toLocaleString: 'Function<toLocaleString>', toLocaleDateString: 'Function<toLocaleDateString>', toLocaleTimeString: 'Function<toLocaleTimeString>' } } }, code: 4 }
__tests__/call.test.ts > call API > recording > start recording: __tests__/call.test.ts#L201
AssertionError: expected [Function] to throw error including 'Stream error code 4: StartRecording f…' but got 'Stream error code 4: StartRecording f…' - Expected + Received - Stream error code 4: StartRecording failed with error: "there is no active session" + Stream error code 4: StartRecording failed with error: "recording is disabled for this call" ❯ __tests__/call.test.ts:201:7
__tests__/call.test.ts > call API > recording > start recording: __tests__/call.test.ts#L201
AssertionError: expected [Function] to throw error including 'Stream error code 4: StartRecording f…' but got 'Stream error code 4: StartRecording f…' - Expected + Received - Stream error code 4: StartRecording failed with error: "there is no active session" + Stream error code 4: StartRecording failed with error: "recording is disabled for this call" ❯ __tests__/call.test.ts:201:7
__tests__/call.test.ts > call API > recording > start recording: __tests__/call.test.ts#L201
AssertionError: expected [Function] to throw error including 'Stream error code 4: StartRecording f…' but got 'Stream error code 4: StartRecording f…' - Expected + Received - Stream error code 4: StartRecording failed with error: "there is no active session" + Stream error code 4: StartRecording failed with error: "recording is disabled for this call" ❯ __tests__/call.test.ts:201:7
__tests__/call.test.ts > call API > recording > start recording: __tests__/call.test.ts#L201
AssertionError: expected [Function] to throw error including 'Stream error code 4: StartRecording f…' but got 'Stream error code 4: StartRecording f…' - Expected + Received - Stream error code 4: StartRecording failed with error: "there is no active session" + Stream error code 4: StartRecording failed with error: "recording is disabled for this call" ❯ __tests__/call.test.ts:201:7
__tests__/command.test.ts > commands CRUD API > delete: __tests__/command.test.ts#L47
AssertionError: promise resolved "{ …(8) }" instead of rejecting - Expected + Received - [Error: rejected promise] + Object { + "args": "", + "created_at": 2025-02-18T16:37:02.709Z, + "description": "Updated descrpition", + "duration": "23.50ms", + "metadata": Object { + "clientRequestId": "87d53324-9311-4b81-ade4-1212ec669d89", + "rateLimit": Object { + "rateLimit": 60000, + "rateLimitRemaining": 59998, + "rateLimitReset": 2025-02-18T16:38:00.000Z, + }, + "responseCode": 200, + "responseHeaders": Headers {}, + }, + "name": "stream-node-test-commandcf30bd9a-531a-452a-a596-c67c3c0775bb", + "set": "", + "updated_at": 2025-02-18T16:37:05.713Z, + } ❯ __tests__/command.test.ts:47:5
__tests__/command.test.ts > commands CRUD API > delete: src/BaseApi.ts#L65
Error: Stream error code 16: DeleteCommand failed with error: "the command "stream-node-test-commandcf30bd9a-531a-452a-a596-c67c3c0775bb" does not exist" ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:65:15 ❯ StreamChatClient.ChatApi.deleteCommand src/gen/chat/ChatApi.ts:946:22 ❯ __tests__/command.test.ts:41:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: 'e2eafcd2-2e41-4993-855b-67457947b73e', responseHeaders: { 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>' }, responseCode: 404, rateLimit: { rateLimit: 60000, rateLimitRemaining: 59995, rateLimitReset: { constructor: 'Function<Date>', toString: 'Function<toString>', toDateString: 'Function<toDateString>', toTimeString: 'Function<toTimeString>', toISOString: 'Function<toISOString>', toUTCString: 'Function<toUTCString>', toGMTString: 'Function<toUTCString>', getDate: 'Function<getDate>', setDate: 'Function<setDate>', getDay: 'Function<getDay>', getFullYear: 'Function<getFullYear>', setFullYear: 'Function<setFullYear>', getHours: 'Function<getHours>', setHours: 'Function<setHours>', getMilliseconds: 'Function<getMilliseconds>', setMilliseconds: 'Function<setMilliseconds>', getMinutes: 'Function<getMinutes>', setMinutes: 'Function<setMinutes>', getMonth: 'Function<getMonth>', setMonth: 'Function<setMonth>', getSeconds: 'Function<getSeconds>', setSeconds: 'Function<setSeconds>', getTime: 'Function<getTime>', setTime: 'Function<setTime>', getTimezoneOffset: 'Function<getTimezoneOffset>', getUTCDate: 'Function<getUTCDate>', setUTCDate: 'Function<setUTCDate>', getUTCDay: 'Function<getUTCDay>', getUTCFullYear: 'Function<getUTCFullYear>', setUTCFullYear: 'Function<setUTCFullYear>', getUTCHours: 'Function<getUTCHours>', setUTCHours: 'Function<setUTCHours>', getUTCMilliseconds: 'Function<getUTCMilliseconds>', setUTCMilliseconds: 'Function<setUTCMilliseconds>', getUTCMinutes: 'Function<getUTCMinutes>', setUTCMinutes: 'Function<setUTCMinutes>', getUTCMonth: 'Function<getUTCMonth>', setUTCMonth: 'Function<setUTCMonth>', getUTCSeconds: 'Function<getUTCSeconds>', setUTCSeconds: 'Function<setUTCSeconds>', valueOf: 'Function<valueOf>', getYear: 'Function<getYear>', setYear: 'Function<setYear>', toJSON: 'Function<toJSON>', toLocaleString: 'Function<toLocaleString>', toLocaleDateString: 'Function<toLocaleDateString>', toLocaleTimeString: 'Function<toLocaleTimeString>' } } }, code: 16 }
test-node (22)
The job was canceled because "_20" failed.
__tests__/call.test.ts > call API > recording > enable call recording: src/BaseApi.ts#L65
Error: Stream error code 4: UpdateCall failed with error: "recording quality is required when audio_only is false and recording is enabled" ❯ StreamVideoClient.BaseApi.sendRequest src/BaseApi.ts:65:15 ❯ StreamVideoClient.VideoApi.updateCall src/gen/video/VideoApi.ts:192:22 ❯ __tests__/call.test.ts:173:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: 'b2ca0c8e-ff53-4a13-b11b-b3869c440526', responseHeaders: { 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>' }, responseCode: 400, rateLimit: { rateLimit: 1000000, rateLimitRemaining: 999985, rateLimitReset: { constructor: 'Function<Date>', toString: 'Function<toString>', toDateString: 'Function<toDateString>', toTimeString: 'Function<toTimeString>', toISOString: 'Function<toISOString>', toUTCString: 'Function<toUTCString>', toGMTString: 'Function<toUTCString>', getDate: 'Function<getDate>', setDate: 'Function<setDate>', getDay: 'Function<getDay>', getFullYear: 'Function<getFullYear>', setFullYear: 'Function<setFullYear>', getHours: 'Function<getHours>', setHours: 'Function<setHours>', getMilliseconds: 'Function<getMilliseconds>', setMilliseconds: 'Function<setMilliseconds>', getMinutes: 'Function<getMinutes>', setMinutes: 'Function<setMinutes>', getMonth: 'Function<getMonth>', setMonth: 'Function<setMonth>', getSeconds: 'Function<getSeconds>', setSeconds: 'Function<setSeconds>', getTime: 'Function<getTime>', setTime: 'Function<setTime>', getTimezoneOffset: 'Function<getTimezoneOffset>', getUTCDate: 'Function<getUTCDate>', setUTCDate: 'Function<setUTCDate>', getUTCDay: 'Function<getUTCDay>', getUTCFullYear: 'Function<getUTCFullYear>', setUTCFullYear: 'Function<setUTCFullYear>', getUTCHours: 'Function<getUTCHours>', setUTCHours: 'Function<setUTCHours>', getUTCMilliseconds: 'Function<getUTCMilliseconds>', setUTCMilliseconds: 'Function<setUTCMilliseconds>', getUTCMinutes: 'Function<getUTCMinutes>', setUTCMinutes: 'Function<setUTCMinutes>', getUTCMonth: 'Function<getUTCMonth>', setUTCMonth: 'Function<setUTCMonth>', getUTCSeconds: 'Function<getUTCSeconds>', setUTCSeconds: 'Function<setUTCSeconds>', valueOf: 'Function<valueOf>', getYear: 'Function<getYear>', setYear: 'Function<setYear>', toJSON: 'Function<toJSON>', toLocaleString: 'Function<toLocaleString>', toLocaleDateString: 'Function<toLocaleDateString>', toLocaleTimeString: 'Function<toLocaleTimeString>' } } }, code: 4 }
__tests__/call.test.ts > call API > recording > enable call recording: src/BaseApi.ts#L65
Error: Stream error code 4: UpdateCall failed with error: "recording quality is required when audio_only is false and recording is enabled" ❯ StreamVideoClient.BaseApi.sendRequest src/BaseApi.ts:65:15 ❯ StreamVideoClient.VideoApi.updateCall src/gen/video/VideoApi.ts:192:22 ❯ __tests__/call.test.ts:173:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '53705866-88fa-42a7-9d8f-82064fa4b406', responseHeaders: { 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>' }, responseCode: 400, rateLimit: { rateLimit: 1000000, rateLimitRemaining: 999979, rateLimitReset: { constructor: 'Function<Date>', toString: 'Function<toString>', toDateString: 'Function<toDateString>', toTimeString: 'Function<toTimeString>', toISOString: 'Function<toISOString>', toUTCString: 'Function<toUTCString>', toGMTString: 'Function<toUTCString>', getDate: 'Function<getDate>', setDate: 'Function<setDate>', getDay: 'Function<getDay>', getFullYear: 'Function<getFullYear>', setFullYear: 'Function<setFullYear>', getHours: 'Function<getHours>', setHours: 'Function<setHours>', getMilliseconds: 'Function<getMilliseconds>', setMilliseconds: 'Function<setMilliseconds>', getMinutes: 'Function<getMinutes>', setMinutes: 'Function<setMinutes>', getMonth: 'Function<getMonth>', setMonth: 'Function<setMonth>', getSeconds: 'Function<getSeconds>', setSeconds: 'Function<setSeconds>', getTime: 'Function<getTime>', setTime: 'Function<setTime>', getTimezoneOffset: 'Function<getTimezoneOffset>', getUTCDate: 'Function<getUTCDate>', setUTCDate: 'Function<setUTCDate>', getUTCDay: 'Function<getUTCDay>', getUTCFullYear: 'Function<getUTCFullYear>', setUTCFullYear: 'Function<setUTCFullYear>', getUTCHours: 'Function<getUTCHours>', setUTCHours: 'Function<setUTCHours>', getUTCMilliseconds: 'Function<getUTCMilliseconds>', setUTCMilliseconds: 'Function<setUTCMilliseconds>', getUTCMinutes: 'Function<getUTCMinutes>', setUTCMinutes: 'Function<setUTCMinutes>', getUTCMonth: 'Function<getUTCMonth>', setUTCMonth: 'Function<setUTCMonth>', getUTCSeconds: 'Function<getUTCSeconds>', setUTCSeconds: 'Function<setUTCSeconds>', valueOf: 'Function<valueOf>', getYear: 'Function<getYear>', setYear: 'Function<setYear>', toJSON: 'Function<toJSON>', toLocaleString: 'Function<toLocaleString>', toLocaleDateString: 'Function<toLocaleDateString>', toLocaleTimeString: 'Function<toLocaleTimeString>' } } }, code: 4 }
__tests__/call.test.ts > call API > recording > enable call recording: src/BaseApi.ts#L65
Error: Stream error code 4: UpdateCall failed with error: "recording quality is required when audio_only is false and recording is enabled" ❯ StreamVideoClient.BaseApi.sendRequest src/BaseApi.ts:65:15 ❯ StreamVideoClient.VideoApi.updateCall src/gen/video/VideoApi.ts:192:22 ❯ __tests__/call.test.ts:173:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '49cbcd15-fde4-4733-82de-f3e0ca445ee0', responseHeaders: { 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>' }, responseCode: 400, rateLimit: { rateLimit: 1000000, rateLimitRemaining: 999973, rateLimitReset: { constructor: 'Function<Date>', toString: 'Function<toString>', toDateString: 'Function<toDateString>', toTimeString: 'Function<toTimeString>', toISOString: 'Function<toISOString>', toUTCString: 'Function<toUTCString>', toGMTString: 'Function<toUTCString>', getDate: 'Function<getDate>', setDate: 'Function<setDate>', getDay: 'Function<getDay>', getFullYear: 'Function<getFullYear>', setFullYear: 'Function<setFullYear>', getHours: 'Function<getHours>', setHours: 'Function<setHours>', getMilliseconds: 'Function<getMilliseconds>', setMilliseconds: 'Function<setMilliseconds>', getMinutes: 'Function<getMinutes>', setMinutes: 'Function<setMinutes>', getMonth: 'Function<getMonth>', setMonth: 'Function<setMonth>', getSeconds: 'Function<getSeconds>', setSeconds: 'Function<setSeconds>', getTime: 'Function<getTime>', setTime: 'Function<setTime>', getTimezoneOffset: 'Function<getTimezoneOffset>', getUTCDate: 'Function<getUTCDate>', setUTCDate: 'Function<setUTCDate>', getUTCDay: 'Function<getUTCDay>', getUTCFullYear: 'Function<getUTCFullYear>', setUTCFullYear: 'Function<setUTCFullYear>', getUTCHours: 'Function<getUTCHours>', setUTCHours: 'Function<setUTCHours>', getUTCMilliseconds: 'Function<getUTCMilliseconds>', setUTCMilliseconds: 'Function<setUTCMilliseconds>', getUTCMinutes: 'Function<getUTCMinutes>', setUTCMinutes: 'Function<setUTCMinutes>', getUTCMonth: 'Function<getUTCMonth>', setUTCMonth: 'Function<setUTCMonth>', getUTCSeconds: 'Function<getUTCSeconds>', setUTCSeconds: 'Function<setUTCSeconds>', valueOf: 'Function<valueOf>', getYear: 'Function<getYear>', setYear: 'Function<setYear>', toJSON: 'Function<toJSON>', toLocaleString: 'Function<toLocaleString>', toLocaleDateString: 'Function<toLocaleDateString>', toLocaleTimeString: 'Function<toLocaleTimeString>' } } }, code: 4 }
__tests__/call.test.ts > call API > recording > enable call recording: src/BaseApi.ts#L65
Error: Stream error code 4: UpdateCall failed with error: "recording quality is required when audio_only is false and recording is enabled" ❯ StreamVideoClient.BaseApi.sendRequest src/BaseApi.ts:65:15 ❯ StreamVideoClient.VideoApi.updateCall src/gen/video/VideoApi.ts:192:22 ❯ __tests__/call.test.ts:173:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '37e9a415-2b32-4d4e-860d-11dfd2efabbf', responseHeaders: { 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>' }, responseCode: 400, rateLimit: { rateLimit: 1000000, rateLimitRemaining: 999968, rateLimitReset: { constructor: 'Function<Date>', toString: 'Function<toString>', toDateString: 'Function<toDateString>', toTimeString: 'Function<toTimeString>', toISOString: 'Function<toISOString>', toUTCString: 'Function<toUTCString>', toGMTString: 'Function<toUTCString>', getDate: 'Function<getDate>', setDate: 'Function<setDate>', getDay: 'Function<getDay>', getFullYear: 'Function<getFullYear>', setFullYear: 'Function<setFullYear>', getHours: 'Function<getHours>', setHours: 'Function<setHours>', getMilliseconds: 'Function<getMilliseconds>', setMilliseconds: 'Function<setMilliseconds>', getMinutes: 'Function<getMinutes>', setMinutes: 'Function<setMinutes>', getMonth: 'Function<getMonth>', setMonth: 'Function<setMonth>', getSeconds: 'Function<getSeconds>', setSeconds: 'Function<setSeconds>', getTime: 'Function<getTime>', setTime: 'Function<setTime>', getTimezoneOffset: 'Function<getTimezoneOffset>', getUTCDate: 'Function<getUTCDate>', setUTCDate: 'Function<setUTCDate>', getUTCDay: 'Function<getUTCDay>', getUTCFullYear: 'Function<getUTCFullYear>', setUTCFullYear: 'Function<setUTCFullYear>', getUTCHours: 'Function<getUTCHours>', setUTCHours: 'Function<setUTCHours>', getUTCMilliseconds: 'Function<getUTCMilliseconds>', setUTCMilliseconds: 'Function<setUTCMilliseconds>', getUTCMinutes: 'Function<getUTCMinutes>', setUTCMinutes: 'Function<setUTCMinutes>', getUTCMonth: 'Function<getUTCMonth>', setUTCMonth: 'Function<setUTCMonth>', getUTCSeconds: 'Function<getUTCSeconds>', setUTCSeconds: 'Function<setUTCSeconds>', valueOf: 'Function<valueOf>', getYear: 'Function<getYear>', setYear: 'Function<setYear>', toJSON: 'Function<toJSON>', toLocaleString: 'Function<toLocaleString>', toLocaleDateString: 'Function<toLocaleDateString>', toLocaleTimeString: 'Function<toLocaleTimeString>' } } }, code: 4 }
__tests__/call.test.ts > call API > recording > start recording: __tests__/call.test.ts#L201
AssertionError: expected [Function] to throw error including 'Stream error code 4: StartRecording f…' but got 'Stream error code 4: StartRecording f…' - Expected + Received - Stream error code 4: StartRecording failed with error: "there is no active session" + Stream error code 4: StartRecording failed with error: "recording is disabled for this call" ❯ __tests__/call.test.ts:201:7
__tests__/call.test.ts > call API > recording > start recording: __tests__/call.test.ts#L201
AssertionError: expected [Function] to throw error including 'Stream error code 4: StartRecording f…' but got 'Stream error code 4: StartRecording f…' - Expected + Received - Stream error code 4: StartRecording failed with error: "there is no active session" + Stream error code 4: StartRecording failed with error: "recording is disabled for this call" ❯ __tests__/call.test.ts:201:7
__tests__/call.test.ts > call API > recording > start recording: __tests__/call.test.ts#L201
AssertionError: expected [Function] to throw error including 'Stream error code 4: StartRecording f…' but got 'Stream error code 4: StartRecording f…' - Expected + Received - Stream error code 4: StartRecording failed with error: "there is no active session" + Stream error code 4: StartRecording failed with error: "recording is disabled for this call" ❯ __tests__/call.test.ts:201:7
__tests__/call.test.ts > call API > recording > start recording: __tests__/call.test.ts#L201
AssertionError: expected [Function] to throw error including 'Stream error code 4: StartRecording f…' but got 'Stream error code 4: StartRecording f…' - Expected + Received - Stream error code 4: StartRecording failed with error: "there is no active session" + Stream error code 4: StartRecording failed with error: "recording is disabled for this call" ❯ __tests__/call.test.ts:201:7
test-node (22)
The operation was canceled.
test-node (18)
The job was canceled because "_20" failed.
__tests__/call.test.ts > call API > recording > enable call recording: src/BaseApi.ts#L65
Error: Stream error code 4: UpdateCall failed with error: "recording quality is required when audio_only is false and recording is enabled" ❯ StreamVideoClient.BaseApi.sendRequest src/BaseApi.ts:65:15 ❯ StreamVideoClient.VideoApi.updateCall src/gen/video/VideoApi.ts:192:22 ❯ __tests__/call.test.ts:173:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: 'afa80a2c-6ac6-4879-b19a-2f9b2d7bda12', responseHeaders: { 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>' }, responseCode: 400, rateLimit: { rateLimit: 1000000, rateLimitRemaining: 999982, rateLimitReset: { constructor: 'Function<Date>', toString: 'Function<toString>', toDateString: 'Function<toDateString>', toTimeString: 'Function<toTimeString>', toISOString: 'Function<toISOString>', toUTCString: 'Function<toUTCString>', toGMTString: 'Function<toUTCString>', getDate: 'Function<getDate>', setDate: 'Function<setDate>', getDay: 'Function<getDay>', getFullYear: 'Function<getFullYear>', setFullYear: 'Function<setFullYear>', getHours: 'Function<getHours>', setHours: 'Function<setHours>', getMilliseconds: 'Function<getMilliseconds>', setMilliseconds: 'Function<setMilliseconds>', getMinutes: 'Function<getMinutes>', setMinutes: 'Function<setMinutes>', getMonth: 'Function<getMonth>', setMonth: 'Function<setMonth>', getSeconds: 'Function<getSeconds>', setSeconds: 'Function<setSeconds>', getTime: 'Function<getTime>', setTime: 'Function<setTime>', getTimezoneOffset: 'Function<getTimezoneOffset>', getUTCDate: 'Function<getUTCDate>', setUTCDate: 'Function<setUTCDate>', getUTCDay: 'Function<getUTCDay>', getUTCFullYear: 'Function<getUTCFullYear>', setUTCFullYear: 'Function<setUTCFullYear>', getUTCHours: 'Function<getUTCHours>', setUTCHours: 'Function<setUTCHours>', getUTCMilliseconds: 'Function<getUTCMilliseconds>', setUTCMilliseconds: 'Function<setUTCMilliseconds>', getUTCMinutes: 'Function<getUTCMinutes>', setUTCMinutes: 'Function<setUTCMinutes>', getUTCMonth: 'Function<getUTCMonth>', setUTCMonth: 'Function<setUTCMonth>', getUTCSeconds: 'Function<getUTCSeconds>', setUTCSeconds: 'Function<setUTCSeconds>', valueOf: 'Function<valueOf>', getYear: 'Function<getYear>', setYear: 'Function<setYear>', toJSON: 'Function<toJSON>', toLocaleString: 'Function<toLocaleString>', toLocaleDateString: 'Function<toLocaleDateString>', toLocaleTimeString: 'Function<toLocaleTimeString>' } } }, code: 4 }
__tests__/call.test.ts > call API > recording > enable call recording: src/BaseApi.ts#L65
Error: Stream error code 4: UpdateCall failed with error: "recording quality is required when audio_only is false and recording is enabled" ❯ StreamVideoClient.BaseApi.sendRequest src/BaseApi.ts:65:15 ❯ StreamVideoClient.VideoApi.updateCall src/gen/video/VideoApi.ts:192:22 ❯ __tests__/call.test.ts:173:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '912739f3-52e7-45d4-90af-346bec9bfd8f', responseHeaders: { 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>' }, responseCode: 400, rateLimit: { rateLimit: 1000000, rateLimitRemaining: 999976, rateLimitReset: { constructor: 'Function<Date>', toString: 'Function<toString>', toDateString: 'Function<toDateString>', toTimeString: 'Function<toTimeString>', toISOString: 'Function<toISOString>', toUTCString: 'Function<toUTCString>', toGMTString: 'Function<toUTCString>', getDate: 'Function<getDate>', setDate: 'Function<setDate>', getDay: 'Function<getDay>', getFullYear: 'Function<getFullYear>', setFullYear: 'Function<setFullYear>', getHours: 'Function<getHours>', setHours: 'Function<setHours>', getMilliseconds: 'Function<getMilliseconds>', setMilliseconds: 'Function<setMilliseconds>', getMinutes: 'Function<getMinutes>', setMinutes: 'Function<setMinutes>', getMonth: 'Function<getMonth>', setMonth: 'Function<setMonth>', getSeconds: 'Function<getSeconds>', setSeconds: 'Function<setSeconds>', getTime: 'Function<getTime>', setTime: 'Function<setTime>', getTimezoneOffset: 'Function<getTimezoneOffset>', getUTCDate: 'Function<getUTCDate>', setUTCDate: 'Function<setUTCDate>', getUTCDay: 'Function<getUTCDay>', getUTCFullYear: 'Function<getUTCFullYear>', setUTCFullYear: 'Function<setUTCFullYear>', getUTCHours: 'Function<getUTCHours>', setUTCHours: 'Function<setUTCHours>', getUTCMilliseconds: 'Function<getUTCMilliseconds>', setUTCMilliseconds: 'Function<setUTCMilliseconds>', getUTCMinutes: 'Function<getUTCMinutes>', setUTCMinutes: 'Function<setUTCMinutes>', getUTCMonth: 'Function<getUTCMonth>', setUTCMonth: 'Function<setUTCMonth>', getUTCSeconds: 'Function<getUTCSeconds>', setUTCSeconds: 'Function<setUTCSeconds>', valueOf: 'Function<valueOf>', getYear: 'Function<getYear>', setYear: 'Function<setYear>', toJSON: 'Function<toJSON>', toLocaleString: 'Function<toLocaleString>', toLocaleDateString: 'Function<toLocaleDateString>', toLocaleTimeString: 'Function<toLocaleTimeString>' } } }, code: 4 }
__tests__/call.test.ts > call API > recording > enable call recording: src/BaseApi.ts#L65
Error: Stream error code 4: UpdateCall failed with error: "recording quality is required when audio_only is false and recording is enabled" ❯ StreamVideoClient.BaseApi.sendRequest src/BaseApi.ts:65:15 ❯ StreamVideoClient.VideoApi.updateCall src/gen/video/VideoApi.ts:192:22 ❯ __tests__/call.test.ts:173:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '9a124bdd-e07e-44a7-b65a-f2e10a2a9ce6', responseHeaders: { 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>' }, responseCode: 400, rateLimit: { rateLimit: 1000000, rateLimitRemaining: 999970, rateLimitReset: { constructor: 'Function<Date>', toString: 'Function<toString>', toDateString: 'Function<toDateString>', toTimeString: 'Function<toTimeString>', toISOString: 'Function<toISOString>', toUTCString: 'Function<toUTCString>', toGMTString: 'Function<toUTCString>', getDate: 'Function<getDate>', setDate: 'Function<setDate>', getDay: 'Function<getDay>', getFullYear: 'Function<getFullYear>', setFullYear: 'Function<setFullYear>', getHours: 'Function<getHours>', setHours: 'Function<setHours>', getMilliseconds: 'Function<getMilliseconds>', setMilliseconds: 'Function<setMilliseconds>', getMinutes: 'Function<getMinutes>', setMinutes: 'Function<setMinutes>', getMonth: 'Function<getMonth>', setMonth: 'Function<setMonth>', getSeconds: 'Function<getSeconds>', setSeconds: 'Function<setSeconds>', getTime: 'Function<getTime>', setTime: 'Function<setTime>', getTimezoneOffset: 'Function<getTimezoneOffset>', getUTCDate: 'Function<getUTCDate>', setUTCDate: 'Function<setUTCDate>', getUTCDay: 'Function<getUTCDay>', getUTCFullYear: 'Function<getUTCFullYear>', setUTCFullYear: 'Function<setUTCFullYear>', getUTCHours: 'Function<getUTCHours>', setUTCHours: 'Function<setUTCHours>', getUTCMilliseconds: 'Function<getUTCMilliseconds>', setUTCMilliseconds: 'Function<setUTCMilliseconds>', getUTCMinutes: 'Function<getUTCMinutes>', setUTCMinutes: 'Function<setUTCMinutes>', getUTCMonth: 'Function<getUTCMonth>', setUTCMonth: 'Function<setUTCMonth>', getUTCSeconds: 'Function<getUTCSeconds>', setUTCSeconds: 'Function<setUTCSeconds>', valueOf: 'Function<valueOf>', getYear: 'Function<getYear>', setYear: 'Function<setYear>', toJSON: 'Function<toJSON>', toLocaleString: 'Function<toLocaleString>', toLocaleDateString: 'Function<toLocaleDateString>', toLocaleTimeString: 'Function<toLocaleTimeString>' } } }, code: 4 }
__tests__/call.test.ts > call API > recording > enable call recording: src/BaseApi.ts#L65
Error: Stream error code 4: UpdateCall failed with error: "recording quality is required when audio_only is false and recording is enabled" ❯ StreamVideoClient.BaseApi.sendRequest src/BaseApi.ts:65:15 ❯ StreamVideoClient.VideoApi.updateCall src/gen/video/VideoApi.ts:192:22 ❯ __tests__/call.test.ts:173:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: 'df77c7b3-6508-417b-b523-bd72bec868e4', responseHeaders: { 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>' }, responseCode: 400, rateLimit: { rateLimit: 1000000, rateLimitRemaining: 999965, rateLimitReset: { constructor: 'Function<Date>', toString: 'Function<toString>', toDateString: 'Function<toDateString>', toTimeString: 'Function<toTimeString>', toISOString: 'Function<toISOString>', toUTCString: 'Function<toUTCString>', toGMTString: 'Function<toUTCString>', getDate: 'Function<getDate>', setDate: 'Function<setDate>', getDay: 'Function<getDay>', getFullYear: 'Function<getFullYear>', setFullYear: 'Function<setFullYear>', getHours: 'Function<getHours>', setHours: 'Function<setHours>', getMilliseconds: 'Function<getMilliseconds>', setMilliseconds: 'Function<setMilliseconds>', getMinutes: 'Function<getMinutes>', setMinutes: 'Function<setMinutes>', getMonth: 'Function<getMonth>', setMonth: 'Function<setMonth>', getSeconds: 'Function<getSeconds>', setSeconds: 'Function<setSeconds>', getTime: 'Function<getTime>', setTime: 'Function<setTime>', getTimezoneOffset: 'Function<getTimezoneOffset>', getUTCDate: 'Function<getUTCDate>', setUTCDate: 'Function<setUTCDate>', getUTCDay: 'Function<getUTCDay>', getUTCFullYear: 'Function<getUTCFullYear>', setUTCFullYear: 'Function<setUTCFullYear>', getUTCHours: 'Function<getUTCHours>', setUTCHours: 'Function<setUTCHours>', getUTCMilliseconds: 'Function<getUTCMilliseconds>', setUTCMilliseconds: 'Function<setUTCMilliseconds>', getUTCMinutes: 'Function<getUTCMinutes>', setUTCMinutes: 'Function<setUTCMinutes>', getUTCMonth: 'Function<getUTCMonth>', setUTCMonth: 'Function<setUTCMonth>', getUTCSeconds: 'Function<getUTCSeconds>', setUTCSeconds: 'Function<setUTCSeconds>', valueOf: 'Function<valueOf>', getYear: 'Function<getYear>', setYear: 'Function<setYear>', toJSON: 'Function<toJSON>', toLocaleString: 'Function<toLocaleString>', toLocaleDateString: 'Function<toLocaleDateString>', toLocaleTimeString: 'Function<toLocaleTimeString>' } } }, code: 4 }
__tests__/call.test.ts > call API > recording > start recording: __tests__/call.test.ts#L201
AssertionError: expected [Function] to throw error including 'Stream error code 4: StartRecording f…' but got 'Stream error code 4: StartRecording f…' - Expected + Received - Stream error code 4: StartRecording failed with error: "there is no active session" + Stream error code 4: StartRecording failed with error: "recording is disabled for this call" ❯ __tests__/call.test.ts:201:7
__tests__/call.test.ts > call API > recording > start recording: __tests__/call.test.ts#L201
AssertionError: expected [Function] to throw error including 'Stream error code 4: StartRecording f…' but got 'Stream error code 4: StartRecording f…' - Expected + Received - Stream error code 4: StartRecording failed with error: "there is no active session" + Stream error code 4: StartRecording failed with error: "recording is disabled for this call" ❯ __tests__/call.test.ts:201:7
__tests__/call.test.ts > call API > recording > start recording: __tests__/call.test.ts#L201
AssertionError: expected [Function] to throw error including 'Stream error code 4: StartRecording f…' but got 'Stream error code 4: StartRecording f…' - Expected + Received - Stream error code 4: StartRecording failed with error: "there is no active session" + Stream error code 4: StartRecording failed with error: "recording is disabled for this call" ❯ __tests__/call.test.ts:201:7
__tests__/call.test.ts > call API > recording > start recording: __tests__/call.test.ts#L201
AssertionError: expected [Function] to throw error including 'Stream error code 4: StartRecording f…' but got 'Stream error code 4: StartRecording f…' - Expected + Received - Stream error code 4: StartRecording failed with error: "there is no active session" + Stream error code 4: StartRecording failed with error: "recording is disabled for this call" ❯ __tests__/call.test.ts:201:7
__tests__/command.test.ts > commands CRUD API > delete: __tests__/command.test.ts#L47
AssertionError: promise resolved "{ …(8) }" instead of rejecting - Expected + Received - [Error: rejected promise] + Object { + "args": "", + "created_at": 2025-02-18T16:37:05.154Z, + "description": "Updated descrpition", + "duration": "37.29ms", + "metadata": Object { + "clientRequestId": "e246097a-c840-4589-a596-41f88dc94761", + "rateLimit": Object { + "rateLimit": 60000, + "rateLimitRemaining": 59996, + "rateLimitReset": 2025-02-18T16:38:00.000Z, + }, + "responseCode": 200, + "responseHeaders": Headers { + Symbol(guard): "immutable", + Symbol(headers list): HeadersList { + "cookies": null, + Symbol(headers map): Map { + "access-control-allow-headers" => Object { + "name": "access-control-allow-headers", + "value": "x-requested-with, content-type, accept, origin, authorization, x-csrftoken, x-stream-client, stream-auth-type, x-csrf-token, content-encoding, x-client-request-id", + }, + "access-control-allow-methods" => Object { + "name": "access-control-allow-methods", + "value": "GET, POST, PUT, PATCH, DELETE, OPTIONS", + }, + "access-control-allow-origin" => Object { + "name": "access-control-allow-origin", + "value": "*", + }, + "access-control-max-age" => Object { + "name": "access-control-max-age", + "value": "86400", + }, + "cache-control" => Object { + "name": "cache-control", + "value": "no-cache", + }, + "content-type" => Object { + "name": "content-type", + "value": "application/json;charset=utf-8", + }, + "vary" => Object { + "name": "vary", + "value": "Accept-Encoding", + }, + "x-ratelimit-limit" => Object { + "name": "x-ratelimit-limit", + "value": "60000", + }, + "x-ratelimit-remaining" => Object { + "name": "x-ratelimit-remaining", + "value": "59996", + }, + "x-ratelimit-reset" => Object { + "name": "x-ratelimit-reset", + "value": "1739896680", + }, + "date" => Object { + "name": "date", + "value": "Tue, 18 Feb 2025 16:37:12 GMT", + }, + "content-length" => Object { + "name": "content-length", + "value": "213", + }, + "x-envoy-upstream-service-time" => Object { + "name": "x-envoy-upstream-service-time", + "value": "190", + }, + "strict-transport-security" => Object { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains", + }, + "server" => Object { + "name": "server", + "value": "stream-edge", + }, + }, + Symbol(headers map sorted): null, + }, + Symbol(realm): null, + }, + }, + "name": "stream-node-test-command956ce30f-9774-4432-8fef-5ab0df54a277", + "set": "", + "updated_at": 2025-02-18T16:37:07.769Z, + } ❯ __tests__/command.test.ts:47:5
__tests__/command.test.ts > commands CRUD API > delete: src/BaseApi.ts#L65
Error: Stream error code 16: DeleteCommand failed with error: "the command "stream-node-test-command956ce30f-9774-4432-8fef-5ab0df54a277" does not exist" ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:65:15 ❯ StreamChatClient.ChatApi.deleteCommand src/gen/chat/ChatApi.ts:946:22 ❯ __tests__/command.test.ts:41:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '8ae5d5b6-4418-4033-b1b6-547bcacffdb4', responseHeaders: { 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>' }, responseCode: 404, rateLimit: { rateLimit: 60000, rateLimitRemaining: 59992, rateLimitReset: { constructor: 'Function<Date>', toString: 'Function<toString>', toDateString: 'Function<toDateString>', toTimeString: 'Function<toTimeString>', toISOString: 'Function<toISOString>', toUTCString: 'Function<toUTCString>', toGMTString: 'Function<toUTCString>', getDate: 'Function<getDate>', setDate: 'Function<setDate>', getDay: 'Function<getDay>', getFullYear: 'Function<getFullYear>', setFullYear: 'Function<setFullYear>', getHours: 'Function<getHours>', setHours: 'Function<setHours>', getMilliseconds: 'Function<getMilliseconds>', setMilliseconds: 'Function<setMilliseconds>', getMinutes: 'Function<getMinutes>', setMinutes: 'Function<setMinutes>', getMonth: 'Function<getMonth>', setMonth: 'Function<setMonth>', getSeconds: 'Function<getSeconds>', setSeconds: 'Function<setSeconds>', getTime: 'Function<getTime>', setTime: 'Function<setTime>', getTimezoneOffset: 'Function<getTimezoneOffset>', getUTCDate: 'Function<getUTCDate>', setUTCDate: 'Function<setUTCDate>', getUTCDay: 'Function<getUTCDay>', getUTCFullYear: 'Function<getUTCFullYear>', setUTCFullYear: 'Function<setUTCFullYear>', getUTCHours: 'Function<getUTCHours>', setUTCHours: 'Function<setUTCHours>', getUTCMilliseconds: 'Function<getUTCMilliseconds>', setUTCMilliseconds: 'Function<setUTCMilliseconds>', getUTCMinutes: 'Function<getUTCMinutes>', setUTCMinutes: 'Function<setUTCMinutes>', getUTCMonth: 'Function<getUTCMonth>', setUTCMonth: 'Function<setUTCMonth>', getUTCSeconds: 'Function<getUTCSeconds>', setUTCSeconds: 'Function<setUTCSeconds>', valueOf: 'Function<valueOf>', getYear: 'Function<getYear>', setYear: 'Function<setYear>', toJSON: 'Function<toJSON>', toLocaleString: 'Function<toLocaleString>', toLocaleDateString: 'Function<toLocaleDateString>', toLocaleTimeString: 'Function<toLocaleTimeString>' } } }, code: 16 }