Bertverbeek4PS / bc2adls

Exporting data from Dynamics 365 Business Central to Azure data lake storage or MS Fabric lakehouse
MIT License
49 stars 20 forks source link

After Upgrading to 24.25.0, Still receive Unable to write content to request stream; content would exceed Content-Length on Schema Export #170

Closed greglong1 closed 1 week ago

greglong1 commented 2 weeks ago

I originally had a Oct 2023 version of bc2adls. Unfortunately BC was upgraded to V24 and I experienced the following issue when exporting the schema: "Unable to write content to request stream; content would exceed Content-Length" From other issues logged, my understanding is that this would be resolved with the latest version of bc2adls. Our BC developers have now upgraded to version 24.25.0 and after upgrading to this version in my test environment, I am still experiencing this error.

image

image

image

greglong1 commented 2 weeks ago

I also uninstalled and reinstalled the bc2adls, but this did not resolve the error message.

greglong1 commented 2 weeks ago

I've also tried a fresh install on another sandbox and still get the same error message

Bertverbeek4PS commented 2 weeks ago

Hi @greglong1 very strange. It should be resolved with pull request https://github.com/Bertverbeek4PS/bc2adls/pull/108/files I also cannot reproduce it. But could you change your lakehouse and workspace to the guids? Because that is also a change that we have made later on. You cannot have spaces etc in the name.

Otherwise maybe arrange a call if the guids also not working. Then I can debug it.

greglong1 commented 2 weeks ago

Hi @Bertverbeek4PS - yes I also tested with changing the workspace and lakehouse to guids and this did not change the error message. I'll have another try and reach out if I still require assistance. Thanks in advance

Bertverbeek4PS commented 2 weeks ago

@greglong1 just did a try with exact the same setup as in your picture. But exporting the schema en the data is successfull. No errors.

greglong1 commented 2 weeks ago

@Bertverbeek4PS - I tested entering the guids but still the same error and have check the Entra Application setup. I will go back to our BC developers to ensure that the code from pull 108 has been included. If still no joy we may need to arrange a call. Thanks for your time. Greg

greglong1 commented 1 week ago

@Bertverbeek4PS - our BC developers have provided an updated version of 24.25.0 and in initial testing I no longer get the error message. Will close this issue. Bert - many thanks for your assistance.