6.2.X EE, 7.0.0 DXP SP1, Master
When an Asset Publisher has been scope to many sites (around 500), the selectedGroupIds parameter fills up the URL, which results in a limit somewhere in the 500 site range for one Asset publisher because the URL is too long to add additional sites to the scope.
Steps to Reproduce:
1. Use the attached groovy script to create an asset publisher with 500 sites scoped to it.
2. Navigate to the site created by the script. ('Test Site 1' by default.)
3. Attempt to add another site to the Asset Publisher's scope.
4. When click select to add "Other site.."make sure that only appears in the list sites that are not selected.
There is no limit on the amount of sites that one asset publisher can be scoped to.
Because the selectGroupIds parameter continues to add IDs to the URL, HTTP errors will eventually be returned.