App with id '|0' cannot use the Secure Store Target Application specified for LobSystemInstance '|1'. An App cannot directly ...

App with id '|0' cannot use the Secure Store Target Application specified for LobSystemInstance '|1'. An App cannot directly refer to a Target Application Id in the BDC model file. Create an app connection which refers to the Target Application and use the connection identifier in the BDC model file.