-
Notifications
You must be signed in to change notification settings - Fork 55
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
The MetadataUtility does calls to retrieve metadata. However, for example, when the client is being throttled and the retry limit is reached the response you receive is null. The MetadataUtility doesn't check this and just returns null causing some null reference errors in your codebase or errors like 'entity or attribute' does not exist.
When the response is null it should check whether it has a LastException before assuming the entity doesn't exist.
Example line here:
PowerPlatform-DataverseServiceClient/src/GeneralTools/DataverseClient/Client/MetadataUtility.cs
Line 85 in 9f25d39
| RetrieveAllEntitiesResponse response = (RetrieveAllEntitiesResponse)svcAct.Command_Execute(request, "GetAllEntityMetadata"); |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working