Trying to import one solution from different environment having custom connector but while importing the solution it gives error: The caller with object id '8aec3043-d8f4-4457-b783-123ccdc2f082' does not have permission to custom connector 'shared_spotify-5
Custom Connectors don't have quite the same security model as everything else in DV. They are quite private by default, with only the Creator being able to see/edit them. Go into the custom connector and share it out, or have the creator be the one who imports it into the destination.