Forum Discussion
Add Existing Content Type Hub: Error "Sorry, something went wrong An unexpected error has occurred."
Can you list what columns you have in this content type? And before you added the content type the list was fine? There must be some column or something in this type that is either conflicting with another or something wrong with it I would guess. Can you manually build a URL to get to the list settings? Do you get the same error if you edit the content type via Site settings?
- ca_remJul 15, 2019Brass Contributor
Doug Allen . This error I encountered when I edit Content Type via Site Setting.
And when the first I add the content Type, It was fine. But when I unpublish the Content-Type in Content Type Hub, edit Content-Type and Publish it again (not using Republish), it causes this error in sites that used to use the old content type version.
So where is the right order to publish content type again? (Not using Republish)
- Doug AllenJul 16, 2019Iron Contributor
That helps thanks. I believe you are doing this incorrectly if I am understanding your process correctly. When you have updates to make to existing content types, you want to use republish. That will keep the same existing content types updated and in sync. When a content type is published, a copy of this content type is sent to every subscribing site collection as sealed (you can't edit it). When it is unpublished, all that happens is that the subscriptions from each site collection to the hub is removed (so they wont get updated), and they are unsealed so you can make changes.
When you hit publish again on a content type with the same name, it likely duplicated the content type but with a different ID which will cause issues. Now I would recommend you unpublish the content type, delete both content types from every site collection, then ensure your content type in the hub is good then publish again. From then on, just use re-publish for normal updates.
Let me know with any other questions.