JSON Deserialization Error w/Null values
JSON Deserialization Error w/Null values
Comments
-
I get the following error trying to deserialize a JSON response from an API. A null value is an acceptable response with this API. How do I resolve this error?
Error converting value {null} to type System.DateTime. Path [0].finalPortPredictiveArrivalUtc, line 1, position 314. ---> System.InvalidCastException: Null object cannot be converted to a value type. -
An On Exception outcome path from the step, Object Is Null step, or a Catch Outcome/Catch Exception step with specified output paths and data to catch may help you get around that.
Howdy, Stranger!
Categories
- 4.3K All Categories
- 70 General
- 11 Training
- 206 Installation / Setup
- 1.1K Flows
- 109 Rules
- 268 Administration
- 212 Portal
- 496 General Q & A
- 706 Forms
- 338 Reports
- 3 Designer Extensions
- 48 Example Flows
- 56 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 184 Pages
- 5 Process Mining
- New Features
- 182 Datastructures
- 69 Repository
- 228 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 57 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 130 Lunch And Learn Questions