Google Places error

Hello everyone,
I am getting the folowing error when using Google Places.
Error connecting to Google Places: REQUEST_DENIED - API keys with referer restrictions cannot be used with this API

I’ve checked the Google Dashboard and this API has no restrictions.

This function was working recently, but something seemed to have changed.

It may be that the key you are using has a restriction already on another API, and you can’t mix your restrictions.

So create a new key just for the Maps API.

Are you trying to have a search box that shows places?