Zoho Flow invokeurl - INVALID_URL_PATTERN Error with Zoho FSM "users" Module

Zoho Flow invokeurl - INVALID_URL_PATTERN Error with Zoho FSM "users" Module

I'm encountering an INVALID_URL_PATTERN error when trying to retrieve data from the Zoho FSM 'users' module using the invokeurl task in Zoho Flow. I've spent considerable time troubleshooting, and I'm confident that the authentication (Zoho FSM connection in Flow) is set up correctly, but the API URL format seems to be the issue.

Here's a breakdown of my problem:

  • I'm using Zoho Flow to automate a process that requires accessing user information from Zoho FSM.
  • I'm using the invokeurl task with a GET request.
  • The connection to Zoho FSM in Flow is established and authorized.
  • I'm constructing the URL to access a specific user by ID.

Here's an example of the URL I'm currently using:

Code snippet
userUrl = "https://fsm.zoho.com/fsm/v1/users/" + ownerId.toString() + ".json";

I've also tried numerous variations of this URL, including:

However, I consistently receive the following error in the invokeurl response:

JSON
{"code":"INVALID_URL_PATTERN","details":{},"message":"Please check if the URL trying to access is a correct one","status":"error"}

Here's an example of how I'm using invokeurl in my Deluge script within Zoho Flow:

Code snippet
if (ownerId != null && ownerId != "") {
    userUrl = "https://fsm.zoho.com/fsm/v1/users/" + ownerId.toString() + ".json"; // Example URL
    userResponse = invokeurl
    [
        "url" : userUrl
        "type" : "GET"
        "connection" : "fsm_to_desk1" // My Zoho FSM connection name
    ];
    info "User Response: " + userResponse; // For debugging
    // ... (Code to process the response)
}

My Questions:

  1. What is the exact and correct URL format for accessing a user by ID in the Zoho FSM API when using invokeurl in Zoho Flow?
  2. Are there any specific headers or other invokeurl parameters that are required for the 'users' module that might be different from other FSM modules?
  3. Are there any known quirks or limitations in how Zoho Flow handles Zoho FSM API calls, particularly with the 'users' module?

I'm providing as much detail as possible to help you understand the issue. Any insights or suggestions would be greatly appreciated!

    Access your files securely from anywhere

        All-in-one knowledge management and training platform for your employees and customers.







                              Zoho Developer Community




                                                    • Desk Community Learning Series


                                                    • Digest


                                                    • Functions


                                                    • Meetups


                                                    • Kbase


                                                    • Resources


                                                    • Glossary


                                                    • Desk Marketplace


                                                    • MVP Corner


                                                    • Word of the Day


                                                    • Ask the Experts





                                                              Manage your brands on social media



                                                                    Zoho TeamInbox Resources



                                                                        Zoho CRM Plus Resources

                                                                          Zoho Books Resources


                                                                            Zoho Subscriptions Resources

                                                                              Zoho Projects Resources


                                                                                Zoho Sprints Resources


                                                                                  Qntrl Resources


                                                                                    Zoho Creator Resources



                                                                                        Zoho CRM Resources

                                                                                        • CRM Community Learning Series

                                                                                          CRM Community Learning Series


                                                                                        • Kaizen

                                                                                          Kaizen

                                                                                        • Functions

                                                                                          Functions

                                                                                        • Meetups

                                                                                          Meetups

                                                                                        • Kbase

                                                                                          Kbase

                                                                                        • Resources

                                                                                          Resources

                                                                                        • Digest

                                                                                          Digest

                                                                                        • CRM Marketplace

                                                                                          CRM Marketplace

                                                                                        • MVP Corner

                                                                                          MVP Corner









                                                                                            Design. Discuss. Deliver.

                                                                                            Create visually engaging stories with Zoho Show.

                                                                                            Get Started Now


                                                                                              Zoho Show Resources

                                                                                                Zoho Writer

                                                                                                Get Started. Write Away!

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

                                                                                                  Zoho CRM コンテンツ




                                                                                                    Nederlandse Hulpbronnen


                                                                                                        ご検討中の方