• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

Wrong error description in RPC API

D

DSM-DeTi

Guest
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
 
Back
Top