COQL parsing error

COQL parsing error

Dear ZOHO support!
I had a similar problem a few years ago, so I hope that you will help me.

I've got an error for the following COQL query:
`select $se_module, Trigger FROM Events WHERE (Created_Time >'2024-10-01T04:00:00Z') LIMIT 200`.
The error response is the following:
  1. {
        "code": "SYNTAX_ERROR",
        "details": {
            "line": 1,
            "column": 20,
            "near": "Trigger"
        },
        "message": "error occured while parsing the query",
        "status": "error"
    }
If I remove the "Trigger" field from the query: `select $se_module FROM Events WHERE (Created_Time >'2024-10-01T04:00:00Z') LIMIT 200` it works fine.

The Trigger is a custom field and the metadata is the following:

{
"system_mandatory" : false,
"webhook" : true,
"json_type" : "string",
"field_label" : "Activador",
"created_source" : "default",
"field_read_only" : false,
"display_label" : "Activador",
"read_only" : false,
"businesscard_supported" : true,
"currency" : { },
"id" : "4519147000384703081",
"custom_field" : true,
"lookup" : { },
"visible" : true,
"length" : 255,
"view_type" : {
"view" : true,
"edit" : true,
"quick_create" : false,
"create" : true
},
"api_name" : "Trigger",
"unique" : { },
"data_type" : "text",
"formula" : { },
"mass_update" : true,
"pick_list_values" : [ ],
"multiselectlookup" : { },
"auto_number" : { }
}



Can you please fix this, or provide me criteria on how can I filter out the fields like this that will break my COQL query?

Thank you!
    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      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




                          Zoho Writer Writer

                          Get Started. Write Away!

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

                            Zoho CRM コンテンツ




                              ご検討中の方