Data connection for the import is not showing even though active data connection is still avilable

I am trying to import json of a dashboard which is in the v8.1.3 and data connection with postgresql with v10 to a new dashboard in the grafana version 10x and postgres v14.So, when i export json available data connection is not coming…