Skip to content

New Routes api key does not work with Directions api #712

Open
@benderlidze

Description

@benderlidze

Description

The problem is that I created a new Google Maps account and a new API key, but there is no Directions API. They say you should use the Routes API. However, when I use the new API key with the Routes API enabled, I get
MapsRequestError: DIRECTIONS_ROUTE: REQUEST_DENIED: There was an issue performing a Directions request.
Uncaught (in promise) MapsRequestError: DIRECTIONS_ROUTE: REQUEST_DENIED: The webpage is not allowed to use the directions service.

When I use an old API key from 5 years ago with the Directions API enabled, it works fine.

Steps to Reproduce

Create new google account and Reoutes api.

Environment

  • Library version:
  • Google maps version: weekly
  • Browser and Version:
  • OS:

Logs


Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions