-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ArgumentNullException in GetAccessTokenAsync #2
Comments
@BenWhite27 good spot, and that does indeed look to be the issue. We have a task to test these against System.Text.Json but for the time being I've added a dependency to |
Thanks Matt, I'll see if I can get the nightly feed configured and working on Umbraco Cloud and report back. |
I believe you should be able to add a NuGet.config to your project root https://learn.microsoft.com/en-us/nuget/reference/nuget-config-file#packagesources |
Hi Matt Merry Christmas |
Excellent. I’ll get a full release pushed out tomorrow but hopefully the preview gets you making progress on your build. Thanks for raising the issue 👍🏻 |
Version 13.0.1 has now been pushed out with this fix in. Thanks again for reporting 👍 |
I'm getting a Null Reference Exception when using the latest version. I've cloned the repository and tested my end that the AccessToken is deserialised as null even though it is present in the http response from paypal.
It appears that the Model objects in this library are configured for Newtonsoft.Json and v4 of Flurl replaced the default serialiser with System.Text.Json.
From: https://flurl.dev/docs/configuration/#serializers
I'm not that familiar with Flurl, but I can't seem to find anything suggesting it's been configured for Newtonsoft.Json.
@mattbrailsford Sorry for the ping but this seems pretty critical.
The text was updated successfully, but these errors were encountered: