You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.
The SnipeIT JSON is returning an "assigned_to" integer that isn't being mapped
Newtonsoft.Json.JsonSerializationException: 'Error converting value 864 to type 'SnipeSharp.Models.AssetAssignedTo'. Path 'payload.assigned_to', line 1, position 250.'
To replicate change some elements on an asset that is assigned to a user and call the update asset.
The text was updated successfully, but these errors were encountered:
The actual issue isn't with this wrapper but in how Snipe is processing data and returning different objects. Right now my workaround is simply to check the asset in make the change and check it back out.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The SnipeIT JSON is returning an "assigned_to" integer that isn't being mapped
Newtonsoft.Json.JsonSerializationException: 'Error converting value 864 to type 'SnipeSharp.Models.AssetAssignedTo'. Path 'payload.assigned_to', line 1, position 250.'
To replicate change some elements on an asset that is assigned to a user and call the update asset.
The text was updated successfully, but these errors were encountered: