Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Nick Young

    (@nickyoung87)

    What version of the plugin are you running?

    Do you have a link to your site?

    Anonymous User 13942908

    (@anonymized-13942908)

    I use version 2.1.7 in my site. My site domain is https://example.com

    When I tested to add REFERERS e.g. *.example.com/* to Google Calendar API I got “Bad Request” error.

    Something wrong/change in query when add REFERERS to Google Calendar API?

    I tested few different case: *.exampleeee.com/* gives
    An error has occured. Access Not Configured. The API is not enabled for your project, or there is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your configuration.

    When I added to REFERERS *.example.com/* I got error:

    An error has occured.
    Bad Request
    No events to display.

    After clearing all REFERERS from google calendar API and insert new API key in general settings I have to also change some setting in feed to get feed working.

    Cachetime was setup to zero (0) or empty.

    Plugin Contributor Nick Young

    (@nickyoung87)

    example.com is just a site used for testing. DO you have a live link to your site that I can check?

    How are you adding referrers to your Google Calendar Feeds?

    If you can provide a live link I will check it out and should be able to help out more with the information I can find there.

    Thread Starter Abg

    (@abildgard)

    Hi Nick – thanks for your help

    The plugin I was using is version 2.1.7. It stopped working some months ago. I think it happened right as google turned off their calendar API v2.

    It’s created by Phil Derksen, though.
    https://github.com/pderksen/WP-Google-Calendar-Events

    Here’s Google’s guide for updating to API v3

    https://developers.google.com/google-apps/calendar/migration#resources

    Plugin Contributor Nick Young

    (@nickyoung87)

    I am also a developer of the plugin ??

    If you have version 2.1.7 then it should be working since that is the latest version. Maybe try checking out the new docs since wuite a bit has changed since the older verisons.

    Here is a link to get you started:

    https://wpdocs.philderksen.com/google-calendar-events/

    We have upgraded the plugin already (v2.1.0+) to use the new v3 Google API.

    Thread Starter Abg

    (@abildgard)

    It works now! – I de ad re-activated the plugin, deleted the Google project and went through the whole process again.

    Thanks!

    Thread Starter Abg

    (@abildgard)

    Wait… as soon as I click Visual composer the shortcode turns into real text. That means it just types it on the webpage as text.

    Works only if I go to text editor and paste it there… and never touch that page again ??

    Anonymous User 13942908

    (@anonymized-13942908)

    Sorry. Everything is okay now after chanching Browser API key to Server API key.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘An error has occured. Bad Request No events to display.’ is closed to new replies.