Skip to content

Ensure Google Maps API can provide responses #22

@psprings

Description

@psprings

Google Maps API is not functional due to the following:

2025-05-23T19:10:49.584Z	054fc8bf-0d98-4fbc-9d6b-a0b4368f4b00	INFO	You must enable Billing on the Google Cloud Project at https://console.cloud.google.com/project/_/billing/enable Learn more at https://developers.google.com/maps/gmp-get-started
2025-05-23T19:10:49.584Z	054fc8bf-0d98-4fbc-9d6b-a0b4368f4b00	ERROR	Invoke Error 	{
    "errorType": "TypeError",
    "errorMessage": "Cannot read properties of undefined (reading 'slice')",
    "stack": [
        "TypeError: Cannot read properties of undefined (reading 'slice')",
        "    at query (/var/task/code/menu/handler.js:61:18)",
        "    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
        "    at async module.exports.menu [as handler] (/var/task/code/menu/handler.js:37:9)"
    ]
}

This impacts the ability of a user to complete the form and prevents volunteers from signing up

Looking at the Google Cloud Billing Accounts, I can see that we have no active billing accounts. Finance needs to configure this before we can resolve this issue.

Pricing here: https://mapsplatform.google.com/pricing/

It is possible that we exhausted a pool of credits which was previously active.

In parallel I have opened the following thread to see if we can get reprieve here:
helpfulengineering/technology#1

Here is the code that is imacted:
https://github.com/helpfulengineering/tool-slack-automation/tree/master/onboarding-assistant/code/menu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions