Missing query parameter dashboardId

Hi, I am just importing Dashboad json file to grafana programmatically,
and Dashboard get generated but while loading I m getting below issues.

“Missing query parameter dashboardId” - in Alert
“DashboardQueryRunner failed” - in alert

Thanks in Advance.

I am distributing grafana url through aws cloudfront to make it https, and
getting above error, so any help is apreciated. Thank You.