1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Wrong error description in RPC API

Discussion in 'Plesk for Linux - 8.x and Older' started by DSM-DeTi, Jun 5, 2006.

  1. DSM-DeTi

    DSM-DeTi Guest

    0
     
    Hello,

    While working with dns part of the RPC API, I got a wrong description at an error.

    The XML I send was:

    Code:
    	<packet version="1.3.2.4">
    		<dns>
    			<get_rec>
    				<filter>
    				<domain_id></domain_id>
    				</filter>
    			</get_rec>
    		</dns>
    	</packet>
    
    The reply I got back was:

    Code:
    	<packet version="1.3.2.4">
    		<dns>
        		<get_rec>
    	    		<result>
    					<status>error</status>
    					<errcode>4201</errcode>
    					<errtext>client_id should be numeric positive value</errtext>
    				</result>
    			</get_rec>
    		</dns>
    	</packet>
    
    I think in the errtext it should be "domain_id" and not "client_id". It was a bit confusing.

    - Dennie
     
Loading...