sanity-io / google-maps-input

Sanity plugin providing input handlers for geo-related input types using Google Maps
MIT License
9 stars 4 forks source link

BillingNotEnabledMapError issue #71

Closed WebShapedBiz closed 4 months ago

WebShapedBiz commented 4 months ago

Describe the bug

Hi.

I'm using for the first time the latest version of the plugin, v4.0.1, been successfully working with v3.0.x before, and I can't make it work. For some reason, I'm getting an error in the console saying "Google Maps JavaScript API error: BillingNotEnabledMapError" which is weird because my Google Cloud console is showing that everything is ok. I have the project linked with the Billing account and the billing is enabled, and I have valid payment options.

I'm lost here and wonder if anybody else has the same issue.

Which versions of Sanity are you using?

@sanity/cli (global)          3.37.2 (latest: 3.38.0)
@sanity/cli                   3.37.2 (latest: 3.38.0)
@sanity/eslint-config-studio   4.0.0 (up to date)
@sanity/google-maps-input      4.0.1 (up to date)
@sanity/locale-hr-hr           1.1.5 (up to date)
@sanity/ui                     2.1.3 (up to date)
@sanity/vision                3.37.2 (latest: 3.38.0)
sanity                        3.37.2 (latest: 3.38.0)

What operating system are you using?

elementary OS 6.1 Jólnir, based on Ubuntu 20.04.6 LTS

Which versions of Node.js / npm are you running?

nodejs v20.11.0 npm v10.2.4

Thank you for your time and effort.

WebShapedBiz commented 4 months ago

Resolved. I'm sorry for this, I was following "BillingNotEnabledMapError" part of the error message and the issue was elsewhere in my code and had nothing to do with the billing.