You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And now I get this error when calling a POST function on a TS client generated using dotnet tool microsoft.openapi.kiota = 1.19.1
error:
TypeError: The "chunk" argument must be one of type string or Buffer. Received type object
at validChunk (index.js:1:23577)
at Writable.write (index.js:1:23989)
at Writable.end (index.js:1:27532)
at zlibBuffer (index.js:1:8869)
at t.gzip (index.js:1:7829)
at eval (compressionHandler.js:164:1)
at new Promise (<anonymous>)
at CompressionHandler.compressUsingZlib (compressionHandler.js:163:1)
at async CompressionHandler.compressRequestBody (compressionHandler.js:153:1)
at async CompressionHandler.executeInternal (compressionHandler.js:60:1)
at async UserAgentHandler.addValue (userAgentHandler.js:53:1)
at async RedirectHandler.executeWithRedirect (redirectHandler.js:105:1)
at async RetryHandler.executeWithRetry (retryHandler.js:123:1)
at async HttpClient.executeFetch (httpClient.js:53:1)
at async eval (fetchRequestAdapter.js:481:1)
at async eval (fetchRequestAdapter.js:176:1)
at async eval (fetchRequestAdapter.js:163:1)
at async fetchData (QueryAudioTable.tsx:50:19)
at async onSubmit (QueryAudioTable.tsx:89:17)
at async eval (index.esm.mjs:2293:1)
It seems that kiota's serializer is providing a Arraybuffer while the validChunk is expecting a string or Buffer. Maybe something is wrong with the compression middleware? Unfortunately I cannot figure out how to disable the compression middleware
The text was updated successfully, but these errors were encountered:
I upgraded from
to
"@microsoft/kiota-bundle": "^1.0.0-preview.72"
And now I get this error when calling a POST function on a TS client generated using dotnet tool
microsoft.openapi.kiota = 1.19.1
error:
It seems that kiota's serializer is providing a
Arraybuffer
while thevalidChunk
is expecting astring
orBuffer
. Maybe something is wrong with the compression middleware? Unfortunately I cannot figure out how to disable the compression middlewareThe text was updated successfully, but these errors were encountered: