PlayniteExtensionsCollection icon indicating copy to clipboard operation
PlayniteExtensionsCollection copied to clipboard

[Purchase Date Importer] Impossible to import purchase dates from Origin (EA App), extension doesn't recognize I'm logged in

Open EeK9X opened this issue 11 months ago • 1 comments

Extension name

Purchase Date Importer

Bug Description

I've been successfully using this extension for Epic.

However, when I try to import the purchase dates from my Origin (now EA App) library, it fails with "Failed to obtain licenses for Origin library" error message, stating: "Verify that you are logged in".

I am authenticated first in Playnite's library integration, and I also log in again through the extension, by clicking "Login" and actually logging in via the window that opens.

Despite my best efforts, it keeps failing.

I've tried disconnecting the integration, clearing the web cache and restarting Playnite, and even re-installing the extension. No dice.

Checking the extensions.log file, I see the same repeating error (The format of value 'application/vnd.origin.v3+json; x-cache/force-write' is invalid.), and also a FlowHttpRequest mentioning a C:\Users\Brandon\source\repos\PlayniteScriptExtensions\source\Common\FlowHttp\HttpRequests\FlowHttpRequest.cs folder (which is definitely not my username).

To Reproduce

Try to "Import purchase dates as added dates" from the Origin (EA App) library, using the extension, after being authenticated in Playnite's library integration and actually logged in to your EA account via the pop-up browser window that shows up after you click on "Login".

Logs

12-01 13:01:30.959|DEBUG|PurchaseDateImporter#HttpClientFactory:Created service provider with IHttpClientFactory 12-01 13:01:30.959|ERROR|PurchaseDateImporter#FlowHttpRequestBase1:Download failed System.FormatException: The format of value 'application/vnd.origin.v3+json; x-cache/force-write' is invalid. at System.Net.Http.Headers.HttpHeaderParser.ParseValue(String value, Object storeValue, Int32& index) at System.Net.Http.Headers.HttpHeaders.ParseAndAddValue(String name, HeaderStoreItemInfo info, String value) at System.Net.Http.Headers.HttpHeaders.Add(String name, String value) at FlowHttp.Requests.FlowHttpRequestBase1.CreateRequest(Uri url, StringContent stringContent, Int64 resumeOffset) in C:\Users\Brandon\source\repos\PlayniteScriptExtensions\source\Common\FlowHttp\HttpRequests\FlowHttpRequestBase.cs:line 173 at FlowHttp.Requests.FlowHttpRequest.<DownloadStringAsync>d__2.MoveNext() in C:\Users\Brandon\source\repos\PlayniteScriptExtensions\source\Common\FlowHttp\HttpRequests\FlowHttpRequest.cs:line 52 12-01 13:01:30.965|DEBUG|PurchaseDateImporter#PurchaseDateImporterWindowViewModel:ApplyDatesToLibrary start. Library: "Origin", 85dd7072-2f20-4e76-a007-41035e390724 12-01 13:01:30.965|DEBUG|PurchaseDateImporter#PurchaseDateImporterWindowViewModel:licensesDictionary did not have items 12-01 13:02:04.144|ERROR|PurchaseDateImporter#FlowHttpRequestBase1:Download failed System.FormatException: The format of value 'application/vnd.origin.v3+json; x-cache/force-write' is invalid. at System.Net.Http.Headers.HttpHeaderParser.ParseValue(String value, Object storeValue, Int32& index) at System.Net.Http.Headers.HttpHeaders.ParseAndAddValue(String name, HeaderStoreItemInfo info, String value) at System.Net.Http.Headers.HttpHeaders.Add(String name, String value) at FlowHttp.Requests.FlowHttpRequestBase1.CreateRequest(Uri url, StringContent stringContent, Int64 resumeOffset) in C:\Users\Brandon\source\repos\PlayniteScriptExtensions\source\Common\FlowHttp\HttpRequests\FlowHttpRequestBase.cs:line 173 at FlowHttp.Requests.FlowHttpRequest.<DownloadStringAsync>d__2.MoveNext() in C:\Users\Brandon\source\repos\PlayniteScriptExtensions\source\Common\FlowHttp\HttpRequests\FlowHttpRequest.cs:line 52 12-01 13:02:04.144|DEBUG|PurchaseDateImporter#PurchaseDateImporterWindowViewModel:ApplyDatesToLibrary start. Library: "Origin", 85dd7072-2f20-4e76-a007-41035e390724 12-01 13:02:04.144|DEBUG|PurchaseDateImporter#PurchaseDateImporterWindowViewModel:licensesDictionary did not have items 12-01 13:05:31.847|ERROR|PurchaseDateImporter#FlowHttpRequestBase1:Download failed System.FormatException: The format of value 'application/vnd.origin.v3+json; x-cache/force-write' is invalid. at System.Net.Http.Headers.HttpHeaderParser.ParseValue(String value, Object storeValue, Int32& index) at System.Net.Http.Headers.HttpHeaders.ParseAndAddValue(String name, HeaderStoreItemInfo info, String value) at System.Net.Http.Headers.HttpHeaders.Add(String name, String value) at FlowHttp.Requests.FlowHttpRequestBase1.CreateRequest(Uri url, StringContent stringContent, Int64 resumeOffset) in C:\Users\Brandon\source\repos\PlayniteScriptExtensions\source\Common\FlowHttp\HttpRequests\FlowHttpRequestBase.cs:line 173 at FlowHttp.Requests.FlowHttpRequest.<DownloadStringAsync>d__2.MoveNext() in C:\Users\Brandon\source\repos\PlayniteScriptExtensions\source\Common\FlowHttp\HttpRequests\FlowHttpRequest.cs:line 52 12-01 13:05:31.847|DEBUG|PurchaseDateImporter#PurchaseDateImporterWindowViewModel:ApplyDatesToLibrary start. Library: "Origin", 85dd7072-2f20-4e76-a007-41035e390724 12-01 13:05:31.847|DEBUG|PurchaseDateImporter#PurchaseDateImporterWindowViewModel:licensesDictionary did not have items 12-01 13:10:45.657|DEBUG|PurchaseDateImporter#PurchaseDateImporterWindowViewModel:ApplyDatesToLibrary start. Library: "Steam", cb91dfc9-b977-43bf-8e70-55f46e410fab 12-01 13:10:45.657|DEBUG|PurchaseDateImporter#PurchaseDateImporterWindowViewModel:licensesDictionary did not have items 12-01 13:10:59.917|ERROR|PurchaseDateImporter#FlowHttpRequestBase1:Download failed System.FormatException: The format of value 'application/vnd.origin.v3+json; x-cache/force-write' is invalid. at System.Net.Http.Headers.HttpHeaderParser.ParseValue(String value, Object storeValue, Int32& index) at System.Net.Http.Headers.HttpHeaders.ParseAndAddValue(String name, HeaderStoreItemInfo info, String value) at System.Net.Http.Headers.HttpHeaders.Add(String name, String value) at FlowHttp.Requests.FlowHttpRequestBase1.CreateRequest(Uri url, StringContent stringContent, Int64 resumeOffset) in C:\Users\Brandon\source\repos\PlayniteScriptExtensions\source\Common\FlowHttp\HttpRequests\FlowHttpRequestBase.cs:line 173 at FlowHttp.Requests.FlowHttpRequest.<DownloadStringAsync>d__2.MoveNext() in C:\Users\Brandon\source\repos\PlayniteScriptExtensions\source\Common\FlowHttp\HttpRequests\FlowHttpRequest.cs:line 52 12-01 13:10:59.917|DEBUG|PurchaseDateImporter#PurchaseDateImporterWindowViewModel:ApplyDatesToLibrary start. Library: "Origin", 85dd7072-2f20-4e76-a007-41035e390724 12-01 13:10:59.917|DEBUG|PurchaseDateImporter#PurchaseDateImporterWindowViewModel:licensesDictionary did not have items

Screenshots

image

EeK9X avatar Jan 12 '25 16:01 EeK9X