-
Notifications
You must be signed in to change notification settings - Fork 55
Description
I upgraded Dataverse.Client and some of my tests started to fail. Retrieving records still work, as it's going through SOAP, but creating a new one fails. The exceptions is just:
JsonReaderException: Error reading JObject from JsonReader. Path '', line 0, position 0.
I checked with Fiddler what exactly is going on. I called CreateAsync for a contact, I can see successful calls for RetrieveCurrentOrganizaton, WhoAmI and for retrieving EntityMetadata, but then there is a POST to /api/data/v9.2/contacts, which is getting status 401.
I checked requests headers and this is how Authorization header looks like:

I compared the call from my app with older version of Dataverse.Client (0.4.19), and it looks normally there:

I also noticed that Cookies section is empty for new version, when for old version it looks like that:
