The following error message appears while restoring an app (.ipa).
"Operation Failed - There was an internal API Error"
This error message appears when you try to restore an app that is not compatible with the target device's iOS version.
You need to restore a different .ipa file either downloaded from the App Store, or extracted from a different source device.
For instructions on how extract or restore apps, see Export, backup and transfer iOS Apps’ Data and Settings