Zoho - Trademark Blogs Forums Contact Us Writer Home Toll Free : 888 900 9646
ERROR REPORT - (< Back)


1.
Error if the login credentials are incorrect 


If the login credentials required to access the Zoho Show API is incorrect an exception is thrown. The response is shown below:


<methodResponse>

<error>
    <errorCode>3401</errorCode>
    <message>AuthenticationFailed.</message>
</error>

</methodResponse>


2. Error if in the input is not an XML

If the method call itself is not written in proper XML such as tags left open/type mismatch etc., the following exception is thrown:


<methodResponse>

<error>
    <errorCode>3400</errorCode>
        <message>
                Parse Error. The element type "<struct>" must be terminated by the matching end-tag "</struct>".
        </message>
</error>

</methodResponse>


3. Error if the method name is incorrect

If the method name being called is incorrect the following error message is generated: "No Such Method".


<methodResponse>

<error>
    <errorCode>3405</errorCode>
    <message>No Such Method</message>
        <info>
            <methodName>"+methodname+"</methodName>
        </info>
</error>

</methodResponse>


4. Error if the import presentation content is not properly encoded

If the presentation content is not encoded properly using Base 64 encoding format during importPresentation method call, an exception is thrown.


<methodResponse>

<error>
        <errorCode>3500</errorCode>
        <message>Import Failed. Please try again with proper input. (Decoding Error)</message>
</error>

</methodResponse>


5. Error if the input value is out of range

If the requested list of presentations in the given range does not match the existing list of presentations(owned, shared or trashed) in Zoho Writer we get this exception. For example in the shared presentations folder we have 5 presentations & the fromindex value is 6 with noofdocstoshow as 4. In this case the fromindex value is out of range as there is no 6th presentation in the shared folder, hence the exception.


<methodResponse>

<error>
    <errorCode>3416</errorCode>
    <message>
Requested Range Not Satisfied</message>
    <info>
        <value><int>"+number+"</int></value>
    </info>
</error>

</methodResponse>


6. Error if there is no presentation in the list

If the method call is to get the list of presentations in the owned/shared folder & there are no presentations in that particular folder, we get an error message as a response.


<methodResponse>

<error>
    <errorCode>340606</errorCode>
        <message>
Not Found, No such presentation in the list</message>
            <info>
                <presentationid>"+presid+"</presentationid>
            </info>
</error>

</methodResponse>


7. Error if trying to access a presentation that is not there in Trashed List

If a presentation that is not there in the trashed list is being called in getTrashedPresentations method we get an exception with the message: "No such presentation in the trashed list".


<methodResponse>

<error>
        <errorCode>3800</errorCode>
        <message>
No such presentation in the trashed list</message>
            <info>
                <presentationid>"+presnid+"</presentationid>
            </info>
</error>

</methodResponse>


8. Error if trying to access a presentation that is not there in Shared List

If a presentation that not there in the shared list is being called in getSharedPresentations method we get an exception with the message: "No such presentation in the shared list".


<methodResponse>

<error>
        <errorCode>3800</errorCode>
        <message>
No such presentation in the shared list</message>
            <info>
                <presentationid>"+presnid+"</presentationid>
            </info>
</error>

</methodResponse>


9. Error if trying to access a presentation that has already been trashed

If a presentation is already trashed and it is being called by getPresentations method, an error is reported.


<methodResponse>

<error>
    <errorCode>3807</errorCode>
    <message>
The presentation is already trashed</message>
    <info>
        <presentationid>"+presnid+"</presentationid>
     </info>
</error>

</methodResponse>


9. Error if the API Key is invalid

If we try to access the Zoho Show APIs with an invalid API Key an error is reported.


<methodResponse>

<error>
        <errorCode>3890</errorCode>
        <message>
The API Key is invalid</message>
</error>

</methodResponse>


10. Error if a presentation name is not specified during importPresentation method call

If a presentation name that is a mandatory argument is not specified during the importPresentation method call an error is thrown.


<methodResponse>

<error>
    <errorCode>3801</errorCode>
    <message>
Please provide a presentation name</message>
    <info>
        <name>"+presnname+"</name>
    </info>
</error>

</methodResponse>


11. Error if the content is not specified during importPresentation method call

If a presentation content is not specified during the importPresentation method call an exception is thrown. Below is the code snippet:


<methodResponse>

<error>
    <errorCode>3803</errorCode>
    <message>
Please specify the content for the presentation</message>
    <info>
        <name>"+content+"</name>
    </info>
</error>

</methodResponse>


12. Error if either the presentation name or the content is invalid during importPresentation method call

If a either the presentation name is missing or the content is not properly encoded during the importPresentaion method call, we get an error with a message "Import Failed".


<methodResponse>

<error>
<errorCode>3804</errorCode>
    <message>Import Failed
</message>
    <info>
        <name>"+presnname+"</name>
        <name>"+content+"</name>
    </info>
</error>

</methodResponse>


13.
Error if trying to make a public presentation that has already been made public


If we try to make an already public presentation public again using makePublic method call we get an exception.


<methodResponse>

<error>
        <errorCode>3808</errorCode>
        <message>
The presentation is already made as public</message>
</error>

</methodResponse>


14. Error if trying to access a private presentation.

If we try to access a private presentation using getPublicPresentationURL method call we get an exception thrown with the following message - "The presentation is not public"


<methodResponse xmlns:xsi"http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://writer.zoho.com/schema/error.xsd">

<error>
        <errorCode>3810</errorCode>
        <message>
The presentation is not public</message>
</error>

</methodResponse>