Getting a NetworkError sometimes on `Purchases.sharedInstance.restorePurchases` (KMP SDK).
Minor bug report: `underlyingErrorMessage` seems to be a result of parsing HTML as JSON.
# java.lang.Throwable: PurchasesError(code=NetworkError, underlyingErrorMessage=Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject, message='Error performing request.')
## Issue Summary
Purchase History Network Error: Failed Device ID Linking
**What's wrong:** Failed to link device ID with purchases. **NetworkError** during purchase history retrieval. Internal error code 12.
**In the trace:** App entered foreground and resumed normally. **Network available** and capable.
**Possible cause:** A **transient server-side issue** with the purchase history API may have caused the network error.
