Adding a Request via ZOHO API - getting 1001 error

Adding a Request via ZOHO API - getting 1001 error

We just started working with the ZOHO Support API and everything looks pretty straight forward so we figured we'd try a quick test with an XML file to see how it worked.  We keep getting the following error.

<response><error><code>1001</code><message>Unable to process your request. Please verify if the name and value is appropriate for the "xml" parameter.</message></error></response>

We thought we could use curl from the command line to send the attached XML file but it doesn't seem to be working.  What are we doing wrong?  We just want to do some quick testing before diving in.

Here is the command we are using.  We know the API Key, Ticket, Portal, and Department are correct because we are able to GET Requests, we just can't seem to POST them.  Please let me know what we're doing wrong.

curl -v -d apikey=XXXXXXXX -d ticket=YYYYYYY -d portal=portalname -d department=departmentname -d xml=@/Users/default/Desktop/ZOHOTesting.xml https://support.zoho.com/api/xml/requests/addrecords?

Thanks.

Bill

    Access your files securely from anywhere







                            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


                                                                                                      ご検討中の方