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.4K All Categories
- 86 General
- 13 Training
- 212 Installation / Setup
- 1.2K Flows
- 112 Rules
- 282 Administration
- 216 Portal
- 501 General Q & A
- 719 Forms
- 353 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 189 Pages
- 5 Process Mining
- New Features
- 187 Datastructures
- 71 Repository
- 233 Integrations
- 30 Multi-Tenant
- 27 SDK
- 81 Modules
- 60 Settings
- 27 Active Directory
- 12 Version 7
- 36 Version 8
- 143 Lunch And Learn Questions