• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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