UNKNOWN_EXCEPTION while trying to retrieve Custom Metadata using List Metadata Type
Last updated 2018-02-10 ·Reference W-3695960 ·Reported By 2 users
UNKNOWN_EXCEPTION while trying to retrieve Custom Metadata using List Metadata Type. Problem occurs when a user without a license to a custom metadata type calls listMetadata for CustomMetadata.
1. Try to retrieve Custom Metadata using List Metadata Type using ant scripts.
2. You may notice the error code similar to below message:
UNKNOWN_EXCEPTION: An unexpected error occurred. Please include this ErrorId if you contact support: 1379998125-10486 (1481654541)
Note: Please note the issue is reproducible only if we have managed custom metadata type in the org.
As a workaround, please follow the below steps:
1. Go to Installed Packages and click Manage Licenses link next to respective managed package
2. Add user who calls mdapi to the licensed users
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.