• Resolved ishoaib

    (@ishoaib)


    Hi,

    I am getting this error and I don’t know why “Access to this feed was denied (403). Please ensure you have public sharing enabled for your calendar.” because if I use my Calendar ID and API keys then the plugin is working fine and even importing the events from google calendar. but if I change the Calendar ID and API keys with my Client email ID, I will get the Access denied error. Also, the Calendar is Public.

    Please help me to fix this issue.

    Thank you

    • This topic was modified 2 years, 11 months ago by ishoaib.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author wpdevelop

    (@wpdevelop)

    Hello.

    In case if you make import of Google Calendar events via API.

    1) Please recheck carefully step by step this instruction: https://wpbookingcalendar.com/faq/import-gc-events/

    Just be sure that you set your Google calendar public, also check the popup dialog at Booking Listing page all parameters, like importing of “all dates” and not only “current dates”, etc…

    2) Please open Booking > Settings > Import> Google Calendar Events Import page

    And recheck options: “Google API Key” and “Google Calendar ID” (in paid versions, each google calendar ID for each resources).

    These options must not contain any white spaces (empty spaces) at the beginning and at the ending of options.

    Usually during copy/past procedure, you can insert these white spaces, so you need to recheck that you DO NOT inserted any white spaces there. Its most common issue.

    3) Please be sure that you have NOT restricted the Google API key, otherwise its can be reason of not ability to import events.

    It’s point #6 in this faq instruction:
    https://wpbookingcalendar.com/faq/import-gc-events/

    Thread Starter ishoaib

    (@ishoaib)

    Hello,

    I have done everything as you said, but I am still facing the same issue.

    Plugin Author wpdevelop

    (@wpdevelop)

    Hello.
    That .ics feed does not contain any events or bookings. Here is full content of that ics feed:

    
    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:-//admin.booking.com\, b.v.//NONSGML v1.0//EN
    CALSCALE:GREGORIAN
    METHOD:PUBLISH
    END:VCALENDAR
    

    If you have some bookings in the booking.com and want to find the .ics feed for these bookings, please contact support of the booking.com how to resolve this.
    Kind Regards.

    Thread Starter ishoaib

    (@ishoaib)

    I am using Google Calendar

    Plugin Author wpdevelop

    (@wpdevelop)

    Hello.
    Sorry, it’s was mistake from my side.

    Try to make import via ics feeds instead of Google API

    Import.
    Please check about the configuration of import events from .ics feeds in this FAQ instruction here https://wpbookingcalendar.com/faq/import-ics-feeds/
    Please note, the import process is working in that case, when some visitor is open your website page with booking import shortcode. So you can configure CRON at your server, for periodically access this page with booking import shortcode to start import process. Or you can insert the import shortcode before booking form shortcode, so firstly system will start import process and only then show booking form, when someone visit your page.
    In case if you are having some issue of not ability to import new events, then check this troubleshooting instruction: https://wpbookingcalendar.com/faq/ics-importing-issue/

    You can define CRON at your server for periodically access pages with import .ics feeds shortcodes and start import process during specific time-intervals, then check this: https://wpbookingcalendar.com/faq/cron-script/

    Export.
    Please check about the configuration of export .ics feeds in this FAQ instruction here https://wpbookingcalendar.com/faq/export-ics-feeds/
    Booking Calendar is generate .ics feed with bookings in real time. But how often some service (like airbnb, or booking.com ) access this .ics feed to import the bookings from Booking Calendar into own system, does not depend from Booking Calendar. So in other words, Booking Calendar does not force to generate import process by third party service, when some booking is created. You need to check with support of this service (like airbnb or booking.com), about how often they can access the .ics feed tor making import.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Access to this feed was denied (403)’ is closed to new replies.