fix: parse non-JSON response objects correctly #194
Annotations
10 errors
|
src/BaseApi.ts#L60
Error: Stream error: 404 - Not Found
❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:60:17
❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22
❯ __tests__/users.test.ts:106:25
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: '67d54d1c-e77a-480b-9dc8-28a7ce8b1b21', 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 }
|
src/BaseApi.ts#L60
Error: Stream error: 404 - Not Found
❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:60:17
❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22
❯ __tests__/users.test.ts:106:25
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: '4ea0785b-8554-4308-bbe8-6c14580e8bf9', 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 }
|
src/BaseApi.ts#L60
Error: Stream error: 404 - Not Found
❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:60:17
❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22
❯ __tests__/users.test.ts:106:25
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: '50a68494-1dae-470d-890e-b0a7319c10c8', 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 }
|
src/BaseApi.ts#L60
Error: Stream error: 404 - Not Found
❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:60:17
❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22
❯ __tests__/users.test.ts:106:25
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: 'ec1d04e2-1652-4670-966a-23c5d30d65df', 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 }
|
src/BaseApi.ts#L60
Error: Stream error: 405 - Method Not Allowed
❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:60:17
❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22
❯ __tests__/users.test.ts:152:27
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: '2fb0b1b6-3969-4bb4-8337-7dcd82444edd', 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 }
|
src/BaseApi.ts#L60
Error: Stream error: 405 - Method Not Allowed
❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:60:17
❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22
❯ __tests__/users.test.ts:152:27
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: '6f83a56b-7cff-41c3-bda1-b665a69d75ae', 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 }
|
src/BaseApi.ts#L60
Error: Stream error: 405 - Method Not Allowed
❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:60:17
❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22
❯ __tests__/users.test.ts:152:27
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: '1ef0c7a1-bbbe-4f5e-b8ca-f3596d385b46', 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 }
|
src/BaseApi.ts#L60
Error: Stream error: 405 - Method Not Allowed
❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:60:17
❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22
❯ __tests__/users.test.ts:152:27
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: '6a13f60f-a5c2-462a-8c1b-a95d608a6794', 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 }
|
|
This job failed
Loading