Google Calendar extension doesn't sync

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peter64
    Junior Member
    • Nov 2023
    • 7

    #1

    Google Calendar extension doesn't sync

    Google Integration
    EspoCRM version:
    1.6.0
    7.5.6
    Recently I bouht the google extension. Everything is connected, but there is no sychronisation between google calendar en EspoCRM. Please help​
  • Vadym
    Super Moderator
    • Jun 2021
    • 364

    #2
    Hi peter64,

    Do you configure Google integration step by step as described in documentation?

    Do you configure crontab?


    Please provide EspoCRM error log, screenshots of Administration -> Extensions, Administration -> Integrations ->
    Google​
    , External Accounts -> Google to investigate this issue comprehensively.

    Comment

    • peter64
      Junior Member
      • Nov 2023
      • 7

      #3
      Hello Vadym,
      De setup for Google integration is configurated as described in the documentation. The crontab is set to receive and sent e-mail. That works. If I have setup another crontab for syncing a google calendar, I like to hear from you.. I have included some schreenshots to verify. Further you have to know yhat I'm running EspoCRM on Plesk Obsidian 18.0.56
      Last edited by peter64; 11-26-2023, 09:43 AM.

      Comment

      • emillod
        Active Community Member
        • Apr 2017
        • 1563

        #4
        Do you have anything in logs?

        Comment


        • peter64
          peter64 commented
          Editing a comment
          [2023-11-26 09:22:45] ERROR: (0) Could not get stream for non-existing 'data/upload/655de5c1d90c8c116'.; GET /crm/; line: 83, file: /var/www/vhosts/intwee.nl/httpdocs/crm/application/Espo/Core/FileStorage/Storages/EspoUploadDir.php
          [2023-11-26 09:23:11] ERROR: (0) Could not get stream for non-existing 'data/upload/65521f39e337ee6b9'.; GET /crm/; line: 83, file: /var/www/vhosts/intwee.nl/httpdocs/crm/application/Espo/Core/FileStorage/Storages/EspoUploadDir.php
          [2023-11-26 09:34:47] ERROR: (0) Could not get stream for non-existing 'data/upload/65521f39e337ee6b9'.; GET /crm/; line: 83, file: /var/www/vhosts/intwee.nl/httpdocs/crm/application/Espo/Core/FileStorage/Storages/EspoUploadDir.php
          [2023-11-26 09:34:55] ERROR: (0) Could not get stream for non-existing 'data/upload/65521f39e337ee6b9'.; GET /crm/; line: 83, file: /var/www/vhosts/intwee.nl/httpdocs/crm/application/Espo/Core/FileStorage/Storages/EspoUploadDir.php
          [2023-11-26 09:35:34] ERROR: (0) Could not get stream for non-existing 'data/upload/65521f39e337ee6b9'.; GET /crm/; line: 83, file: /var/www/vhosts/intwee.nl/httpdocs/crm/application/Espo/Core/FileStorage/Storages/EspoUploadDir.php
          [2023-11-26 15:03:49] WARNING: (404) GET /crm/; line: 73, file: /var/www/vhosts/intwee.nl/httpdocs/crm/application/Espo/EntryPoints/Attachment.php
          [2023-11-26 15:03:49] WARNING: (404) GET /crm/; line: 73, file: /var/www/vhosts/intwee.nl/httpdocs/crm/application/Espo/EntryPoints/Attachment.php
          [2023-11-26 15:03:49] WARNING: (404) GET /crm/; line: 189, file: /var/www/vhosts/intwee.nl/httpdocs/crm/application/Espo/EntryPoints/Image.php
          [2023-11-26 15:03:49] WARNING: (404) GET /crm/; line: 189, file: /var/www/vhosts/intwee.nl/httpdocs/crm/application/Espo/EntryPoints/Image.php
          [2023-11-26 15:03:54] WARNING: (404) GET /crm/; line: 73, file: /var/www/vhosts/intwee.nl/httpdocs/crm/application/Espo/EntryPoints/Attachment.php
          [2023-11-26 15:03:54] WARNING: (404) GET /crm/; line: 189, file: /var/www/vhosts/intwee.nl/httpdocs/crm/application/Espo/EntryPoints/Image.php
          [2023-11-26 15:03:54] WARNING: (404) GET /crm/; line: 73, file: /var/www/vhosts/intwee.nl/httpdocs/crm/application/Espo/EntryPoints/Attachment.php
          [2023-11-26 15:03:54] WARNING: (404) GET /crm/; line: 189, file: /var/www/vhosts/intwee.nl/httpdocs/crm/application/Espo/EntryPoints/Image.php
          [2023-11-26 15:04:02] WARNING: (404) GET /crm/; line: 189, file: /var/www/vhosts/intwee.nl/httpdocs/crm/application/Espo/EntryPoints/Image.php
          [2023-11-26 15:04:02] WARNING: (404) GET /crm/; line: 73, file: /var/www/vhosts/intwee.nl/httpdocs/crm/application/Espo/EntryPoints/Attachment.php
          [2023-11-26 15:04:02] WARNING: (404) GET /crm/; line: 189, file: /var/www/vhosts/intwee.nl/httpdocs/crm/application/Espo/EntryPoints/Image.php
          [2023-11-26 15:04:02] WARNING: (404) GET /crm/; line: 73, file: /var/www/vhosts/intwee.nl/httpdocs/crm/application/Espo/EntryPoints/Attachment.php
          [2023-11-26 18:16:30] ERROR: (403) Error after requesting GET https://people.googleapis.com/v1/contactGroups. Reason: People API has not been used in project 771607582115 before or it is disabled. Enable it by visiting https://console.developers.google.co...t=771607582115 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.; GET /GoogleContacts/action/usersContactsGroups; line: 29, file: /var/www/vhosts/intwee.nl/httpdocs/crm/application/Espo/Modules/Google/Core/Google/Exceptions/RequestError.php



          The last error: I enabled peaople.googleapis.com
          Last edited by peter64; 11-27-2023, 02:34 PM.
      • Vadym
        Super Moderator
        • Jun 2021
        • 364

        #5
        Hi peter64,

        1. Please publish your Google app by clicking PUBLISH APP at console.cloud.google.com:

        Click image for larger version  Name:	image.png Views:	0 Size:	91.7 KB ID:	100148

        2. Reconnect Google integration (Administration -> Integrations -> Google​).

        3. Enable and configure Google integration external account for admin, rebuild EspoCRM, and recheck the issue:

        Click image for larger version  Name:	image.png Views:	0 Size:	110.9 KB ID:	100149
        Click image for larger version  Name:	image.png Views:	0 Size:	56.7 KB ID:	100150

        Documentation:
        https://docs.espocrm.com/extensions/google-integration/calendar/#google-integration-calendar-sync​​

        Comment

        • bshumylo
          Junior Member
          • May 2025
          • 17

          #6
          Hello
          I have a similar problem: not everything is synchronized in Google Calendar and vice versa.

          - the Programs entity (this is the edited Meetings) is synchronized from Espo to Google, but vice versa - no.
          - the custom Education entity (type - Event) - does not synchronize at all
          - Tasks - even not available

          Please tell me what I missed?
          Attached Files
          Last edited by bshumylo; 02-07-2026, 09:16 PM.

          Comment

          • bshumylo
            Junior Member
            • May 2025
            • 17

            #7
            I found the reason why the custom entity Education is not displayed in the Espo calendar. It is because the responsible person (Lecturer) is not specified. This is because Espo only shows events assigned to a specific user in the calendar (as far as I know).

            So the question is: when creating an event in Google Calendar, how do I assign it to myself so that it appears in the Espo calendar?
            Attached Files

            Comment

            • victor
              Active Community Member
              • Aug 2022
              • 1128

              #8
              So the question is: when creating an event in Google Calendar, how do I assign it to myself so that it appears in the Espo calendar?
              Any events are synchronized by default for the User whose profile was connected to Google Calendar using this User's External Account. That is, you don't need to do anything with this.

              - Most likely, you haven't added the entity you need to display in the "#Calendar" entity:

              Click image for larger version

Name:	image.png
Views:	0
Size:	34.0 KB
ID:	124219​​- In your Google Calendar settings, you have specified "#Meeting" as the default entity. This means that any event from Google Calendar will be created in "#Meeting". So in the EspoCRM Calendar settings (from the screenshot above) you should check the presence of a check mark for "#Meeting".

              Click image for larger version

Name:	image.png
Views:	0
Size:	118.1 KB
ID:	124220​- In Administration > Settings > General > Activities > Calendar Entity List check the "#Meeting" entity.

              Comment

              • bshumylo
                Junior Member
                • May 2025
                • 17

                #9
                Thank u for the answers

                - Most likely, you haven't added the entity you need to display in the "#Calendar" entity:
                - everything was turned on here​. "Programs" are renamed "Meetings".​
                Click image for larger version

Name:	image.png
Views:	0
Size:	40.4 KB
ID:	124583

                - In Administration > Settings > General > Activities > Calendar Entity List check the "#Meeting" entity.​
                - it was already there
                ​​Click image for larger version

Name:	image.png
Views:	0
Size:	14.2 KB
ID:	124584
                For better understanding customization:
                Click image for larger version

Name:	image.png
Views:	0
Size:	18.2 KB
ID:	124585
                Click image for larger version

Name:	image.png
Views:	0
Size:	17.0 KB
ID:	124586
                This issue solved somehow... i didn't do nothing
                the Programs entity (this is the edited Meetings) is synchronized from Espo to Google, but vice versa - no
                ​​
                any event from Google Calendar will be created in "#Meeting"
                But i didn't understand from the Documentation, how to create events from Google Calendar in my "#CDPLecture". Please explain the logic.

                And Tasks - are they avaliable in any way for sinc?

                Comment

                • victor
                  Active Community Member
                  • Aug 2022
                  • 1128

                  #10
                  Events from Google Calendar are synced to only one entity in your External Account > Google > Default Entity settings.

                  Click image for larger version  Name:	image.png Views:	0 Size:	50.4 KB ID:	124588
                  And Tasks - are they avaliable in any way for sinc?
                  That's right, this entity does not sync with Google Calendar. You should choose another one (possibly a custom one) instead.

                  Comment


                  • bshumylo
                    bshumylo commented
                    Editing a comment
                    I see... thank u
                • bshumylo
                  Junior Member
                  • May 2025
                  • 17

                  #11
                  Hello, I found a bug: During new connection I selected a custom entity "#CDPLecture" by default. When creating an event in Google Calendar, it is not synced to the EspoCRM calendar.
                  Please, tell me, what I missed.
                  Thank u!

                  Click image for larger version  Name:	image.png Views:	0 Size:	95.7 KB ID:	124674 Click image for larger version  Name:	image.png Views:	0 Size:	57.8 KB ID:	124675 Click image for larger version  Name:	image.png Views:	0 Size:	95.3 KB ID:	124676

                  Comment

                  • victor
                    Active Community Member
                    • Aug 2022
                    • 1128

                    #12
                    Please note that the entity list for each time period (Month, Week, Day, Timeline) is displayed separately.
                    Your screenshot shows Week. Check if "#CDPLecture" is checked for the weekly calendar.

                    Click image for larger version  Name:	image.png Views:	0 Size:	23.7 KB ID:	124680

                    It is possible that you have checked the "#CDPLecture" checkboxes in all Calendar time slots except Week. Check for the problematic entry not in the EspoCRM calendar, but also in the "#CDPLecture" entity.

                    Additionally, check all the tips above in this topic and reconnect the current External Account (preferably through an incognito browser tab to avoid problems with the browser cache).​

                    Comment

                    Working...