Getting error when integrate cliq with Geocoding API

Getting error when integrate cliq with Geocoding API

I am getting the error like "Oops! Looks like something went wrong with the integration. Please try again later or contact the creator of the integration."

My code:
message = Map();
destination_details = getUrl("https://maps.googleapis.com/maps/api/geocode/json?address=" + arguments + "&key=AIzaSyAFkLAoZEfgkfbifcIK9uQR62dU2IJoUTU");
lat_long = destination_details.toMap().get("results").toMap().get("geometry").get("location");
lat = lat_long.get("lat");
long = lat_long.get("lng");
traffic = getUrl("https://maps.googleapis.com/maps/api/distancematrix/json?units=imperial&origins=" + location.get("latitude") + "," + location.get("longitude") + "&destinations=" +lat + "," + long + "&departure_time=now&key=AIzaSyAThEwtaGkCvMYaCPhUopzPM5I270NmSrA");
results = traffic.toMap().get("rows").toMap().get("elements").toMap().get("status");
if ( results == "OK" ) 
{
time = traffic.toMap().get("rows").toMap().get("elements").toMap().get("duration").get("text");
time_traffic = traffic.toMap().get("rows").toMap().get("elements").toMap().get("duration_in_traffic").get("text");
message = {"text":"Hi " + user.get("first_name") + "! Here's the traffic information to *" + arguments + "* \nActual Time: " + time + " \nTime with Traffic: " + time_traffic + " ! :smile:","card":{"title":"Traffic For You!","icon":"https://screenshots.en.sftcdn.net/en/scrn/97000/97769/google-maps-58-100x100.png","theme":"prompt"}};
}
else 
{
message.put("text","Sorry! Can't find the traffic details now. Try [here](" + mapURL + ")");
}
return message;
    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      • Sticky Posts

      • Communicate, collaborate, and drive projects to success with the Zoho Cliq - Zoho Projects integration

        Context switching between apps is a problem you shouldn't have to deal with. Let's say you find a new project issue or want to add a task in Zoho Projects. You should be able to do both of these tasks right from where you're already collaborating. Thanks to Zoho Cliq's new integration with Zoho Projects, you can now manage your project issues, tasks, and milestones from right inside your chat window. Steps to install the extension The Zoho Projects for Zoho Cliq integration is available for installation

      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner

                        • Word of the Day

                          Word of the Day


                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner

                        • Word of the Day

                          Word of the Day



                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方