Problem saving documents using remote API -- "Document format not supported. Error in saving content."

Problem saving documents using remote API -- "Document format not supported. Error in saving content."

Hi all,

I'm running into a problem using the remote api to save documents.  I've managed to set up a session and open the document inside Zoho.  But when my users try to save the document within Zoho, Zoho gives the following error:

"Document format not supported. Error in saving content."

This happens for both .doc and .txt files (the only two I've tried so far).  The save routine appears to die within Zoho somewhere...my servlet that is supposed to get the files back from Zoho never reports receiving any POSTs at all.

Here are my log entries from setting up the Zoho session.....as you can see, everything appears to be working.  So what am I doing wrong?  Thanks!

Log:

20120123 15:37:26 DEBUG [ajp-8009-6] (ZohoAPI)  - setupPrivateEditor using following for POST:
apikey: [redacted]
output: url
mode: normaledit
filename: Test_Doc_06.doc
documentid: 31101
id: 31101
lang: en
format: doc
saveurl: https://app.bizmarx.net/Bizmarx/bizmarx/saveZohoDocument

20120123 15:37:26 DEBUG [ajp-8009-6] (ZohoAPI)  - setupPrivateEditor executing POST: POST https://exportwriter.zoho.com/remotedoc.im HTTP/1.1
20120123 15:37:28 DEBUG [ajp-8009-6] (ZohoAPI)  - setupPrivateEditor sees response status: 200  :  OK
20120123 15:37:28 DEBUG [ajp-8009-6] (ZohoAPI)  - setupPrivateEditor:  full response string seen as:
URL=https://exportwriter.zoho.com/editor.im?doc=e2e696359ed3e3bd924680494b78cf8cf64fe1a005b25400ab12cd686048b51d7d7598f15514dfd4
WARNING=NULL
RESULT=TRUE




























    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation
                                              • Sticky Posts

                                              • Zoho Office Integrator: Moving to the all-new Zoho Sheet

                                                We introduced the latest version of Zoho Sheet—Sheet 5—in early 2019. This new version consists of a new user interface, improved performance, and an array of useful features. As a part of this, we will upgrade our Remote API integrations to the new version's editor interface on February 29, 2020. Update: The remote API integrations upgrade to the new version's interface will be done on April 15, 2020. Here are some exciting enhancements the new version of Sheet offers for our API users: An AI-powered
                                              • Businesses prefer Zoho Office Integrator over Microsoft WOPI - Here's why

                                                Businesses often have difficult decisions to make when building web applications that provide document management capabilities for their users. For example, what's the best solution to integrate with online office editors— Zoho Office Integrator or Microsoft


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns 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