Fatal error or timeout with API2

bsolano

Registered
Oct 11, 2008
4
0
51
Hello.

I am trying to use the Cpanel API indirectly, but there are errors that do not come from the syntax of my requests. For instance, when I try to call it using this URL:

https://*****.**************.com:20...e><func>listmaildomains</func></cpanelaction>

I get the following error:

<fatalerror>[a fatal error or timeout occurred while processing this directive]</fatalerror><fatalerror>[a fatal error or timeout occurred while processing this directive]</fatalerror><fatalerror>[a fatal error or timeout occurred while processing this directive]</fatalerror><fatalerror>[a fatal error or timeout occurred while processing this directive]</fatalerror> <cpanelresult>
<apiversion>2</apiversion>
<func>listmaildomains</func>
<module>park</module>
</cpanelresult>


API1 functions are working, but as you can see API2 is not. Do you know what's happening?

Best regards,

B.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Replace 'park' with 'Park' (without quotes). I spoke to QA about this and apparently our documentation on this is inaccurate. Modules should typically have the first letter capitalized in API2. I'll be sure to bring this to the attention of the appropriate personnel who can resolve this documentation issue.
 
Last edited: