Add-on store still not visible

After an update a few months ago I lost both my community and official add-on store. I was able to get the community back but when I tried to add the repository for the official store I get the error below which basically says it still exists. I can now no longer update my zwave js which did stop working in the latest core update. To get round this I have had to back up to an early core release. I am now in a position where if I update I will lose all functionality. Does anyone have any solutions as I am at my wits end here?

contains duplicate items: [‘’] for dictionary value @ data[‘addons_repositories’]. Got [‘’, ‘’]

In the end I deleted HA from my system, did a fresh install and then loaded up a back up and it came back.