GetCollectionDetails - Collection has no children

Hi everyone!

I’m having a really weird problem with Workshop collections on my development server. Whenever I try to start it up, it doesn’t seem to want to get the addons from my Workshop collection, spitting out a “Collection has no children” error, then doesn’t want to finish starting up.

Here are the command line arguments I’m using:

[lua]-norestart -console -game garrysmod -nohltv -condebug +maxplayers 8 -authkey [Actually an authkey] +exec “server.cfg” +gamemode cinema +host_workshop_collection [Actually a collection ID][/lua]

And here is the console log with the error it spits out:

[lua]
Console initialized.
ConVarRef mat_dxlevel doesn’t point to an existing ConVar
Game.dll loaded for “Garry’s Mod”
Initializing Steam libraries for secure Internet server
Logging into anonymous gameserver account.
Fetching Workshop Addons…
Calling GetCollectionDetails
Connection to Steam servers successful.
Public IP is [whoops lol]
Assigned anonymous gameserver Steam ID [A-1:3150087172(4253)].
VAC secure mode is activated.
Collection has no children:
{
“response”: {
“result”: 1,
“resultcount”: 0,
“collectiondetails”: [
{
“publishedfileid”: “[Collection ID]”,
“result”: 9
}
]

    }

}
Calling GetCollectionDetails
Collection has no children:
{
“response”: {
“result”: 1,
“resultcount”: 0,
“collectiondetails”: [
{
“publishedfileid”: “[Collection ID]”,
“result”: 9
}
]

    }

}
Calling GetCollectionDetails
Collection has no children:
{
“response”: {
“result”: 1,
“resultcount”: 0,
“collectiondetails”: [
{
“publishedfileid”: “[Collection ID]”,
“result”: 9
}
]

    }

}
Calling GetCollectionDetails
Collection has no children:
{
“response”: {
“result”: 1,
“resultcount”: 0,
“collectiondetails”: [
{
“publishedfileid”: “[Collection ID]”,
“result”: 9
}
]

    }

}
Calling GetCollectionDetails
Collection has no children:
{
“response”: {
“result”: 1,
“resultcount”: 0,
“collectiondetails”: [
{
“publishedfileid”: “[Collection ID]”,
“result”: 9
}
]

    }

}
[/lua]

I’ve already tried getting a new API key and moving everything over to a new collection, but to no avail. I suspect that this is an API problem somewhere in the galaxy, but I figured I may as well ask here, just to be safe.

Thanks for any help in advance!

edit: Setting the Collection to Public solves the issue, but it’s always worked before as a Hidden collection. If nothing else works then this can be a viable solution!

I’m pretty sure it’s because they fixed the exploit of being able to download private addons and collections through workshop collections and resource.AddWorkshop().

Ah, that’d explain it if that were the case. Thanks!

Is this the case? My server is having the same problem.

[editline]23rd April 2014[/editline]

I can confirm that this was causing the issue.

I can confirm making the collection public fixes the issue.

Only just noticed my server was doing the same thing, was down for hours D:

So sorry for bumping an old thread, but i am having the same issue and dont understand how to resolve it. Do you mean i can’t use collections?

[editline]15th October 2014[/editline]

nvm fixed it :smiley: