I am trying to retrieve Settings Metadata using Metadata API. The request body is as follows:-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:tns="http://soap.sforce.com/2006/04/metadata">
<soapenv:Header>
<tns:SessionHeader>
<tns:sessionId>{token}</tns:sessionId>
</tns:SessionHeader>
</soapenv:Header>
<soapenv:Body>
<tns:retrieve>
<retrieveRequest>
<unpackaged>
<types>
<members>TrialOrg</members>
<name>Settings</name>
</types>
<types>
<members>RecordPage</members>
<name>Settings</name>
</types>
<version>54.0</version>
</unpackaged>
</retrieveRequest>
</tns:retrieve>
</soapenv:Body>
</soapenv:Envelope>
The output is showing me error
But when I am trying to retrieve these same settings through workbench, I am able to successfully do it. Here is my package.xml
Here is output from the workbench
Any lead, what I am doing wrong in the SOAP call. anything would be highly appreciable