fix: parse non-JSON response objects correctly #196
Annotations
11 errors
|
Test:
__tests__/permissions-app-settings.test.ts#L54
TypeError: Cannot read properties of undefined (reading 'includes')
❯ __tests__/permissions-app-settings.test.ts:54:41
|
Test:
__tests__/permissions-app-settings.test.ts#L54
TypeError: Cannot read properties of undefined (reading 'includes')
❯ __tests__/permissions-app-settings.test.ts:54:41
|
Test:
__tests__/permissions-app-settings.test.ts#L54
TypeError: Cannot read properties of undefined (reading 'includes')
❯ __tests__/permissions-app-settings.test.ts:54:41
|
Test:
__tests__/permissions-app-settings.test.ts#L54
TypeError: Cannot read properties of undefined (reading 'includes')
❯ __tests__/permissions-app-settings.test.ts:54:41
|
Test:
src/BaseApi.ts#L59
Error: Stream error: 404 - Not Found
❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:59:17
❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22
❯ __tests__/users.test.ts:106:25
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: 'ee5b20dc-f60e-4336-99fa-fe1cbdbb914e', 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: undefined, rateLimitRemaining: undefined, rateLimitReset: undefined } }, code: 404 }
|
Test:
src/BaseApi.ts#L59
Error: Stream error: 404 - Not Found
❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:59:17
❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22
❯ __tests__/users.test.ts:106:25
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: 'e392f491-a012-4485-92fc-201b48352ef4', 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: undefined, rateLimitRemaining: undefined, rateLimitReset: undefined } }, code: 404 }
|
Test:
src/BaseApi.ts#L59
Error: Stream error: 404 - Not Found
❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:59:17
❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22
❯ __tests__/users.test.ts:106:25
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: '88399511-6c8c-4dc7-9f73-0ccc30817a62', 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: undefined, rateLimitRemaining: undefined, rateLimitReset: undefined } }, code: 404 }
|
Test:
src/BaseApi.ts#L59
Error: Stream error: 404 - Not Found
❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:59:17
❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22
❯ __tests__/users.test.ts:106:25
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: '6fa0fb07-dd87-4bf1-a4c8-db18efed278b', 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: undefined, rateLimitRemaining: undefined, rateLimitReset: undefined } }, code: 404 }
|
Test:
src/BaseApi.ts#L59
Error: Stream error: 405 - Method Not Allowed
❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:59:17
❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22
❯ __tests__/users.test.ts:152:27
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: 'c24cbf7c-a572-4c7d-a02e-517453220a76', 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: 405, rateLimit: { rateLimit: undefined, rateLimitRemaining: undefined, rateLimitReset: undefined } }, code: 405 }
|
Test:
src/BaseApi.ts#L59
Error: Stream error: 405 - Method Not Allowed
❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:59:17
❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22
❯ __tests__/users.test.ts:152:27
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: '6a92d3ad-a36d-426d-a35b-c80d59a51db4', 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: 405, rateLimit: { rateLimit: undefined, rateLimitRemaining: undefined, rateLimitReset: undefined } }, code: 405 }
|
Loading