cancel
Showing results for 
Search instead for 
Did you mean: 

UndefinedException: Undefined entity type - SAP BTP SDK for iOS

former_member622480
Discoverer
0 Kudos

We are attempting to consume a new OData service in our iOS app. - The app is already setup to consume another OData service which is working as expected. But this new service is giving us issues.

Whenever the new service responds with 200 OK along with entities, the SDK is throwing an exception like this:

UndefinedException: Undefined entity type: YWM_HANDHELDSCANNER_LTS_SRV.AllowedUserPlantStorageLocation.

Any errors and exceptions thrown by the service are correctly exposed through the SDK, but any entities returned will cause this exception to be thrown by the SDK.

The entity is correctly declared in the metadata scheme and entity container (See attachment).
metadata-lts.xml

What could be causing this issue?
We are on SAP BTP SDK for iOS version 6.0.7

Accepted Solutions (1)

Accepted Solutions (1)

former_member622480
Discoverer
0 Kudos

I resolved the issue, by providing the correct CSDLDocument to the ODataProvider.

Answers (0)