Don't have Telegram yet? Try it now!
https://nishantrana.me/2016/08/30/the-distinct-attribute-is-not-declared-error-while-trying-to-import-solution-in-crm-2016-and-earlier/
The 'distinct' attribute is not declared error while trying to import solution in CRM 2016 (and earlier)