simple-salesforce-mdapi-retrieve-uses-unpackaged-kwarg

SfdcMetadataApi.retrieve() does not accept a package.xml string. The correct call uses the ‘unpackaged’ kwarg with a dict of {metadata_type: [member_names]}. Passing a string as the first positional arg treats it as a URL path segment, producing silent wrong-endpoint requests.