• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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