Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read metadata doesn't seem to work with External Services #304

Open
braveMoose opened this issue Oct 8, 2024 · 0 comments
Open

Read metadata doesn't seem to work with External Services #304

braveMoose opened this issue Oct 8, 2024 · 0 comments

Comments

@braveMoose
Copy link

Hi team,

I'm trying to get info from our external services via the readMetadata method, but I'm getting an error message along the way.

The code :
MetadataService.MetadataPort service = MetadataService.createService();
system.debug(service.readMetadata('ExternalServiceRegistration', new String[]{'EXTSRV001'}));

The error message :
Line: 13500, Column: 1
System.CalloutException: Web service callout failed: Unable to parse callout response. Apex type not found for element namedCredentialReference

Could you please let me know if there would be a workaround ?

Thanks for the great tool you're providing !

Ariane

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant