Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Even I am facing issue can't upload sppkg file of 11mb to sitecollection app catalog #6047

Open
maheshpalle opened this issue May 11, 2024 · 1 comment

Comments

@maheshpalle
Copy link

maheshpalle commented May 11, 2024

          Iam facing the same issue. How to solve this problem.

m365 spo app add -p $(sppkg file) --overwrite --scope sitecollection --appCatalogUrl $(site url)

Error: Request body larger than maxBodyLength limit

sppkg file is 11mb
m365 cli v4.2.0
node v16.3.0
should i raise as new issue?

Originally posted by @suren-ms in #2120 (comment)

@milanholemans
Copy link
Contributor

Hi @maheshpalle

Few questions:

  • Is there a reason why you are using an old version of Cli (v4.2.0)? Do you have the same issue in our latest release?
  • Is this something that worked before, or did you encounter this recently?

Looking at the code, there might be a possibility that this doesn't work for large files. We might have to implement uploading in batches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants