atlas-install-plugin fails if the plugin is larger than 1 MB

Other Atlassian products don't have a problem. Where can this be configured?



exceeds the configured maximum (1048576)

2 answers

Hi Bob,

Sorry for the delay. I'm afraid I couldn't reproduce it locally - it's certainly not intentional.

Just curiuos, can you upload it via the UI instead? What version of Stash are you running? Do you have any extra settings in your or JVM arguments? Could you mind posting the full stacktrace?

Hopefully we can get to the bottom of this soon.


Hmmm, both 2.2.0 and 2.3.0. Yes, works fine via upload file or url, just not plugin install. I can open an issue if you want (where would be best?). So, I take it there is no configuration setting that can be adjusted as the error message suggests.

Hi Bob,

You _might_ want try setting 'avatar.max.size' in to something larger than '1048576'. I don't think that's it, but that's the only value that might conceivably affect what you're seeing.

I forgot to ask, what version of amps do you have installed?

You can raise support tickets at:



Funny, I didn't get this notification. I ended up creating AMPS-962 since it is a development problem. AMPS 3.11.

0 votes

Hi Bob,

As a workaround, could you please use a more recent version of the SDK (I'm using 4.1.5 at the moment)? The upload URL used to upload the plugins changed and isn't affected by the upload-size limitation in more recent versions.



I am careful about switching SDK levels in general. A made a separate 4.1.7 install, but, that fails as well. No error in the logs this time, just the command line error: Install Plugin: Couldn't get the token from upm. Headers. Falling back to legacy upload.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,952 views 7 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you