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
I am writting my own bulk operations script to mass update and publish our contentstack entries via the management API.
The sdk throws a ContentstackException when attempting to call the management api multiple times with a "Request Header Fields Too Large" error message. I am dealing with a couple thousand entries and it always seems to start failing on the 1271st call to the API.
at Contentstack.Management.Core.Http.ContentstackHttpRequest.GetResponse() at Contentstack.Management.Core.Runtime.Pipeline.HttpHandler.InvokeSync(IExecutionContext executionContext) at Contentstack.Management.Core.Runtime.Pipeline.RetryHandler.RetryHandler.InvokeSync(IExecutionContext executionContext) at Contentstack.Management.Core.ContentstackClient.InvokeSync[TRequest](TRequest request)
I was able to get arround the error by creating a new client instance for every single call which is not ideal.
I am using .NET 6 with contentstack.management.csharp" Version="0.1.0"
The text was updated successfully, but these errors were encountered:
Thanks for reaching out, @sdm7306. We appreciate you bringing this issue to our attention. Our team will investigate the problem you encountered with the Contentstack SDK when making multiple calls to the management API, resulting in a 'Request Header Fields Too Large' error message.
We will work on fixing the issue and, if necessary, provide you with an updated build that addresses this problem.
+1, we are experiencing this same issue. Each request is appending the Accept header with "image/jpeg" which eventually causes this error to be thrown.
I am writting my own bulk operations script to mass update and publish our contentstack entries via the management API.
The sdk throws a ContentstackException when attempting to call the management api multiple times with a "Request Header Fields Too Large" error message. I am dealing with a couple thousand entries and it always seems to start failing on the 1271st call to the API.
at Contentstack.Management.Core.Http.ContentstackHttpRequest.GetResponse() at Contentstack.Management.Core.Runtime.Pipeline.HttpHandler.InvokeSync(IExecutionContext executionContext) at Contentstack.Management.Core.Runtime.Pipeline.RetryHandler.RetryHandler.InvokeSync(IExecutionContext executionContext) at Contentstack.Management.Core.ContentstackClient.InvokeSync[TRequest](TRequest request)
I was able to get arround the error by creating a new client instance for every single call which is not ideal.
I am using .NET 6 with contentstack.management.csharp" Version="0.1.0"
The text was updated successfully, but these errors were encountered: