API Key Issues

You are here:
Reading time: 1 min

If you are seeing the following error message when you try and book a journey then there is an issue with your API key.

API keys with referer restrictions cannot be used with this API.

This means you have either not enabled the services required for QuickCab to work or there are some restriction on the API key.

Please log into your Google Console and ensure the following services are activated:

  • Google Maps JavaScript API
  • Google Maps Roads API
  • Google Static Maps API
  • Google Maps Embed API
  • Google Places API Web Service
  • Google Maps Geocoding API
  • Google Maps Directions API
  • Google Maps Distance Matrix API
  • Google Maps Geolocation API

Also ensure the API key can be used by the website you are hosting QuickCab on.

If you are still getting the same error after the above steps try disable the HTTP restrictions completely and check again. If it works after this there are some issue with the HTTP restrictions you have placed on the API key. Read this guide for more information on how to configure API key settings.

Views: 2829