On this page
What this issue is
Address autocomplete is the dropdown that suggests full addresses as someone types in a checkout, booking or lead form. It usually calls a third-party API such as Google Places, Mapbox, Loqate or Autocomplete from a postal provider. When that call fails, the dropdown simply never shows. The form often looks normal, so nobody notices.
Why it costs you leads or sales
Autocomplete saves typing, mainly on phones. Without it, people type long addresses, make typos and give up sooner. Worse, some forms fill the city, postcode or state only from the dropdown choice. If those fields stay empty or locked, validation fails and the form cannot be submitted at all. Typos also lead to failed deliveries and shipping or tax calculation errors.
- Visitor starts typing addressField accepts input
- Autocomplete API callKey, billing or referrer error
- Address fields fillCity, postcode stay empty
- Form submitsValidation fails or user leaves
The API call fails silently, so the later steps depend on how the form handles missing suggestions.
Example: illustrative numbers only, showing how completion can drop when address fields must be typed in full.
How to check if your site has it
Open the form in a private window
Use a fresh window with no extensions so ad blockers do not interfere. Try desktop and a phone.
Type a real address
Type the first few characters of a street. A dropdown of suggestions should appear within a second.
Open the browser console
Press F12, open Console and Network. Look for messages such as RefererNotAllowedMapError, ApiNotActivatedMapError, InvalidKeyMapError, BillingNotEnabledMapError or OVER_QUERY_LIMIT.
Check the request status
In Network, filter for the provider domain (for example maps.googleapis.com). A 403, 400 or 429 response means the provider is rejecting the call.
Check the provider dashboard
In Google Cloud Console, open APIs and Services, then Credentials and Quotas, and check billing status and errors for the Places API.
| Error | Likely cause | Fix |
|---|---|---|
| RefererNotAllowedMapError | Your domain is not in the key's allowed referrers | Add the exact domain pattern to the key restrictions |
| ApiNotActivatedMapError | Places API not enabled on the project | Enable Places API (or Places API New) in the library |
| BillingNotEnabledMapError | Billing is off or the card failed | Fix the billing account link |
| InvalidKeyMapError | Key typo, deleted or wrong key | Replace with the correct key |
| OVER_QUERY_LIMIT / 429 | Quota or rate limit reached | Raise the quota or cache and debounce requests |
How to fix it
Find where the key is set
Check your form plugin (Gravity Forms Google Places add-on, WooCommerce address plugins, Elementor forms) or theme settings for the API key field.
Paste a valid key
Use a key with the right API enabled, then save and clear any caching plugin cache.
Check the app or theme
Shopify's own checkout has built-in address suggestions. If you use an address app or custom theme code, open the app settings and re-enter the key.
Check the app's plan or limits
Some apps stop suggestions when a lookup limit is reached. Review the app dashboard.
Find the loader tag
If a Custom HTML tag loads the Places script, open it and check the key in the URL.
Check the trigger
Make sure the tag fires on the pages with the form, and that consent rules do not block it. Preview, then publish.
Check custom code
In Project Settings, then Custom Code, or in an Embed element, find the script that loads the provider and confirm the key.
Publish
Publish the site, since custom code changes do not appear until you do.
Load the script with a valid key
Use the snippet below, and handle failures so manual entry still works.
Fix restrictions
In Google Cloud Console, under Credentials, set Application restrictions to HTTP referrers and list your live domains, for example https://www.example.com/*.
// Google Maps JS API calls this when the key is rejected
window.gm_authFailure = function () {
document.querySelectorAll('[data-address-field]').forEach(function (el) {
el.removeAttribute('readonly');
el.removeAttribute('disabled');
});
console.warn('Address autocomplete unavailable, manual entry enabled');
};Fix the key and billing
Confirm the key exists, billing is active and the correct API is enabled.
Correct the restrictions
Add every live, www and non-www domain to the allowed referrers. Remember new domains and subdomains.
Check quotas
Raise the daily quota if needed, and use session tokens and a short typing delay so each lookup costs fewer requests.
Check blockers
If you use a Content Security Policy, allow the provider's domains in script-src and connect-src.
Add a fallback
Keep the fields editable, so a provider outage only removes the convenience.
The visitor types, the provider returns an error and no suggestions appear.
How to confirm it's fixed
- Suggestions appear on desktop and mobile in a private window
- The console shows no MapError messages
- Network requests to the provider return 200
- Selecting a suggestion fills street, city, postcode and country
- Typing an address by hand still submits the form
- The provider dashboard shows requests with no new errors
How to prevent it happening again
- Set a billing alert and quota alert in the provider console
- Keep keys in one documented place and note who owns the account
- Use separate keys for staging and live, each with its own referrer list
- Add new domains to referrer restrictions before launching them
- Keep manual address entry available at all times
- Re-test the form after theme, plugin or checkout changes
- Review provider deprecation notices for the Places API
How FunnelGuard handles this
FunnelGuard detects this issue only partly. It runs your real customer journey with a robot visitor on a schedule, checks each step and alerts you if a step fails, for example if a form cannot be completed because of a page error. It does not specifically test whether the address suggestions dropdown appears, and it does not read your provider's quota, billing or key settings.
Questions people ask
Why is my address autocomplete not working?
Most often the API provider is rejecting the request. Typical causes are an invalid or deleted key, billing disabled, a quota limit, the Places API not being enabled, or a referrer restriction that excludes your domain. Open the browser console to see the exact error.
Why does Google Places autocomplete show RefererNotAllowedMapError?
The API key has HTTP referrer restrictions and your site's URL does not match them. In Google Cloud Console, open Credentials, edit the key and add your domain pattern, such as https://www.example.com/*. Include non-www and any new subdomain.
How do I fix address autocomplete on checkout?
Check the key, billing and enabled APIs, then correct the referrer list and quotas. After that, test in a private window on desktop and mobile. Make sure the address fields can also be typed manually.
Will a failing autocomplete stop customers from buying?
It can. If the city or postcode fields only fill from the dropdown or are locked, customers cannot complete the form. Even when fields are editable, long manual typing increases abandonment, especially on phones.
Can address autocomplete stop working without any site change?
Yes. A card expiring, a quota being hit, a key being rotated, or the provider changing an API can break it while your site stays the same. That is why billing alerts and regular tests help.
Can FunnelGuard tell me if address autocomplete is broken?
Only partly. FunnelGuard runs your real form journey and alerts you if a step fails, but it does not specifically check that the suggestions dropdown appears or read your provider's quota and billing. Test the dropdown by hand and set provider alerts.
Should I keep manual address entry as a fallback?
Yes. Always keep the address fields editable so a provider outage only removes the convenience. This stops a third-party failure from blocking your form.
Related issues
- OPS-221Google Maps API key quota/billing errorFix guide
- OPS-226Tax/shipping rate API failing at checkoutFix guide
- OPS-220jQuery/CDN library outageFix guide
- OPS-222reCAPTCHA/hCaptcha service outageFix guide
- OPS-217HubSpot/CRM API down (leads not created)Fix guide
- OPS-208Payment gateway outage (Stripe, PayPal, Square)Fix guide