Cannot resolve Orphaned channels

Casper Thygesen

11 Jan, 2018 09:01 PM

Hi.

Integrity report has the following:
The project Projects-1 for channel Default (Channels-684) does not exist. Lifecycle=<none>.
The project Projects-101 for channel Default (Channels-701) does not exist. Lifecycle=<none>.
etc...

However, using your API i can not delete the channels, as they report:
repo.Channels.Delete(channel);
"There was a problem with your request. - This channel has releases including: 1.1.3.1-https, 1.1.3.1-httpsforced, 1.1.4, 1.1.4-https, 1.1.5"

When I try to delete the orphaned channels releases, it reports:
repo.Releases.Delete(release);
"The resource 'Projects-145' was not found."

Hi Rob. Thank you very much. It worked! The integrity report is now a success, however I can conclude that there is still rogue releases, belonging to no projects or channels - howver they seem like a much lesser issue