Delete tenant, sequence contains no elements error


I’m trying to delete a tenant on Cloud Octopus v2019.13.6, but it’s getting a 500 error and returning the below:


The tenant has nothing currently, so not sure what’s going on.

Any help? If you need to look specifically at my instance just say and I’ll make this private and supply details.


Hi Matt,

Thanks for getting in touch! I’ve recently discovered a bug which prevented a tenant from being modified in any way if it was cloned from a tenant that has since been deleted. You can reference the issue here.

Does this match your situation? If not, looking at this directly in your instance would be helpful to figure out what’s going on, so I would just need consent to access as a support user and your instance URL. :slight_smile:

Best regards,


Hi Kenny,

It looks like I just straight created it, not cloned another sorry.

Will PM you my instance URL and I do give you permission to have a poke around :slight_smile:



1 Like

I am getting this issue - did we find a resolution?


Ooo - I just seemed to accidentally solve my issue.

I think it had something to do with me deleting a Variable Set that this Tenant might have been involved in…not the Variable Set is gone, the Tenant deleted without further complaint.

Hi Stuart,

Thanks for getting in touch and letting us know the outcome in your case. The issue linked above had a fix that was shipped as part of 2020.2.8 in case you hit this again. :slight_smile:

Let me know if you have any questions or concerns going forward!

Best regards,