I'm Using Maps Javascript API & Geocoding API on My Angular Application Which is Hosted on Microsoft Powerappsportals. So, Map Is Displaying as Long as Application Restriction is None. But When I Change Application Restriction to Website It Always Stopped Working.
Getting Following Error Only When Setting Restriction to Website Otherwise It was Working Perfectly Fine
{
error_message: "API keys with referer restrictions cannot be used with this API."
results: []
status: "REQUEST_DENIED"
}
My Application Is Deployed on Domain Like https://test-abc.powerappsportals.com and I've Tried to Add These Following URLs in Website Restrictions
test-abc.powerappsportals.com/*
*.powerappsportals.com/*
powerappsportals.com/*
https://test-abc.powerappsportals.com/*
https://*.powerappsportals.com/*
https://powerappsportals.com/*
But Nothing Worked for Me It's Only Working When Application Restriction is None. So Help Me If Anyone Got The Similar Issue Thankyou.