Krayin Forum

    Krayin

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Error to Sync Google Calendar with KrayinCRM

    General Discussion
    3
    11
    735
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      belugawhale15 last edited by

      Hello. i have a problem when i want to sync google calendar with the KrayinCRM. I have finished all the steps, but after I enter the email & password at the login page, an error message appears at my krayincrm website. the error message is "Viter with google namespace not found. Please add google namespace in the config/krayin-vite.php file."
      What should I do to fix that error? thank you!

      A 1 Reply Last reply Reply Quote 0
      • A
        admin @belugawhale15 last edited by

        @belugawhale15 May I know the version of Krayin you are using?

        B 1 Reply Last reply Reply Quote 0
        • B
          belugawhale15 @admin last edited by

          @admin I'm using the latest version of Kayin CRM. That problem was solved. but now, I'm facing new problem with google integration. after i grant access to google calendar, the page shows "404 not found". what is the solution to that problem? thank you

          1 Reply Last reply Reply Quote 0
          • R
            Rishabh-Webkul last edited by

            Hello @belugawhale15

            That means callback url mismatched for google where you're setting up callbackurl please let us know ?

            Thanks & Regards

            B 1 Reply Last reply Reply Quote 0
            • B
              belugawhale15 @Rishabh-Webkul last edited by

              @Rishabh-Webkul i setting it like this "GOOGLE_REDIRECT_URI="${APP_URL}/google/oauth"

              1 Reply Last reply Reply Quote 0
              • R
                Rishabh-Webkul last edited by

                Hello @belugawhale15

                In your .env file set the path to public and /google/auth

                and the same redirect URL path will added to the Google Cloud Console

                Thanks & Regards

                B 1 Reply Last reply Reply Quote 0
                • B
                  belugawhale15 @Rishabh-Webkul last edited by

                  @Rishabh-Webkul I already change the ".env" file like you have said. But still, it doesn't work. Is there any mistake that I've done? here's the screenshot of my ".env" file:

                  Screenshot 2024-10-24 195152.png

                  Screenshot 2024-10-24 195310.png

                  thank you for your attention!

                  1 Reply Last reply Reply Quote 0
                  • R
                    Rishabh-Webkul last edited by

                    Hello @belugawhale15

                    Kindly share the screenshot of Google redirect URL it will be visible just like the image below.

                    wewva.png

                    Also, provide the screenshot of your complete .env file so we can check the APP_URL also, this will help us to resolve your query.

                    Thanks & Regards

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      belugawhale15 @Rishabh-Webkul last edited by

                      @Rishabh-Webkul Sure, here's my screenshot of .env file and Google Cloud Console

                      Screenshot 2024-10-28 191620.png

                      Screenshot 2024-10-28 191702.png

                      Screenshot 2024-10-28 191753.png

                      Screenshot 2024-10-28 191813.png

                      Thanks!

                      1 Reply Last reply Reply Quote 0
                      • R
                        Rishabh-Webkul last edited by

                        Hello @belugawhale15

                        There is an issue in your APP_URL no folder name and no public at your local it should be something like below image

                        rwfv3rqrvw.png

                        Thanks & Regards

                        1 Reply Last reply Reply Quote 0
                        • B
                          belugawhale15 last edited by belugawhale15

                          Unfortunately, i'm still facing the same problem after changing the APP_URL like you could see in this image below:
                          Screenshot 2024-11-06 164315.png

                          Screenshot 2024-11-06 164327.png

                          Or is there any missing folder/file in my CRM application? Because when I go to the /public/google folder, there is no "oauth" or "webhook" folder. Thank you.

                          Screenshot 2024-11-06 164741.png

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Powered by NodeBB | Contributors