Skip Navigation

[Resolved] Using a german address containing an Umlaut Ü, the dot is not shown on frontend

This thread is resolved. Here is a description of the problem and solution.

Problem: I'm having trouble displaying a map marker for a German address containing an Umlaut ü.

Solution: Check your API key in Toolset > Settings > Maps > Check API. If you see this message, you must create a second key with no restrictions.

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

The first key, which will be used on the front-end of your site, can have restrictions. This way the public key isn't at risk of being misused. The second key is only used for server-to-server communication and is never exposed to the public, so it should not have referrer restrictions. It's not at risk of being misused.

Relevant Documentation:

https://toolset.com/documentation/user-guides/display-on-google-maps/creating-a-google-maps-api-key/#creating-an-api-key-for-google-maps

This support ticket is created 5 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 5 replies, has 2 voices.

Last updated by markusM-3 5 years, 5 months ago.

Assisted by: Christian Cox.

Author
Posts
#1252957

Using a german address containing an Umlaut Ü, the marker on the map is not shown on frontend.
Address is as follows: Türkenlouisstraße 13, 79102, Freiburg im Breisgau, Deutschland
If I just use the city, there is no issue.
This is the frontend layout: hidden link

Is this a known issue?

#1253359

Hi, no it's not a known issue. I am able to use the same address with an umlaut in my own personal site without any problems, so there must be something else going on. Can you try the following troubleshooting steps first?
- Temporarily activate a default theme like Twenty Nineteen, then deactivate all plugins except Toolset
- Test again. If the problem is resolved, reactivate your theme and other plugins one by one until the problem returns
- If the problem was not resolved, go to Toolset > Settings > Maps and click "Load stored data". Delete the entry for Türkenlouisstraße 13, 79102, Freiburg im Breisgau, Deutschland. Then click "Check API" and confirm your API is still configured correctly. Test again.

Please let me know the results of these tests and then we can continue.

#1256517

I still need a moment on this. I just deleted the address as you suggested.
But when I check API, I get this: REQUEST_DENIED - API keys with referer restrictions cannot be used with this API.

#1256529
2019-06-03.png

As you can see in my screenshot, the address looks fine in the backend. But in the front end, it appears somewhere in Africa...
Totally different.

#1257565

REQUEST_DENIED - API keys with referer restrictions cannot be used with this API.
If you'd like to use referrer restrictions, you must create 2 keys. The first key, which will be used on the front-end of your site, can have restrictions. This way the public key isn't at risk of being misused. The second key is only used for server-to-server communication and is never exposed to the public, so it should not have referrer restrictions. it's not at risk of being misused.

https://toolset.com/documentation/user-guides/display-on-google-maps/creating-a-google-maps-api-key/#creating-an-api-key-for-google-maps

#1257797

That actually solved the problem. Thank you!