← Back to team overview

dhis2-users team mailing list archive

Configure Google Service Account on DHIS 2.21

 

Hello,

I am trying to add a Google service account configuration to DHIS
2.21. I created a service account and activated most of the maps API
from Google API console. Then, I put the service account credentials
inside DHIS2_CONF/config folder with filename dhis-google-auth.json .
But it's not working. The DHIS2 GIS app logs errors like:

"Google Maps API warning: NoApiKeys
https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys";
util.js:220:12
"Google Maps API warning: RetiredVersion
https://developers.google.com/maps/documentation/javascript/error-messages#retired-version";
"Google Maps API error: Google Maps API error: MissingKeyMapError
https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error";

Please help.

Regards,
Aatish Neupane


Follow ups