megel / powerapps-helper

MIT License
27 stars 3 forks source link

Pack and Upload a Solution Error #20

Closed mlnc21 closed 2 years ago

mlnc21 commented 2 years ago

PAH Version: 1.8.1 PAC Version: 1.17.5+gcbb58e8

When I try to use the Function “Pack and Upload a Solution”, I become the current Error Message. image But when I use “Pack Solution” and Manually Upload, then it works.

megel commented 2 years ago

Hi @mlnc21 thanks for reporting. I'll check this. How is the size of your solution?

mlnc21 commented 2 years ago

Hi @megel, Thanks for the Response. The size is 8310 KB.

megel commented 2 years ago

Found this related to your reported error: https://github.com/axios/axios/issues/4888#issuecomment-1206848584

I'll add this to the upload parameters:

await axios.post(url, data,{
                headers: headers,
                maxBodyLength: 104857600, //100mb
                maxContentLength: 104857600 //100mb
})
mlnc21 commented 2 years ago

Vielen Dank, Herr Megel :-)

Beste Grüße aus Bautzen ;)

megel commented 2 years ago

Gern geschehen Martin! Der fix ist in v1.8.2 ... bitte testen.