When I click publish to island to make a private version and update my island I get an error and when I try to see my island in my creations it doesn't appear when it did before

When I click publish to island to make a private version and update my island I get “An error occurred while creating your private code. Correct the error and try again (the island exceeded the limit)” and when I try to see my island in my creations does not appear when before if it appeared