megel/powerapps-helper

Pack and Upload a Solution Error

Closed this issue · 5 comments

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

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

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

megel commented

Found this related to your reported error:
axios/axios#4888 (comment)

I'll add this to the upload parameters:

await axios.post(url, data,{
                headers: headers,
                maxBodyLength: 104857600, //100mb
                maxContentLength: 104857600 //100mb
})

Vielen Dank, Herr Megel :-)

Beste Grüße aus Bautzen ;)

megel commented

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