-
Notifications
You must be signed in to change notification settings - Fork 179
Closed
Labels
bugThis points to a verified bug in the codeThis points to a verified bug in the code
Description
Checklist
- I have looked into the Readme and have not found a suitable solution or answer.
- I have looked into the API documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
In a recent project I was using Management API SDK to get job errors.
When I invoke Jobs.GetErrorDetailsAsync on a job without any errors it throws an exception:
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Auth0.ManagementApi.Models.JobErrorDetails' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
Reproduction
- Launch a job which does not return any error
- Use Jobs.GetErrorDetailsAsync with JobId
- Receive an error
Additional context
No response
auth0.net version
7.44
.NET version
8.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThis points to a verified bug in the codeThis points to a verified bug in the code