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
- 84 General
- 13 Training
- 210 Installation / Setup
- 1.2K Flows
- 111 Rules
- 272 Administration
- 214 Portal
- 498 General Q & A
- 714 Forms
- 349 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 188 Pages
- 5 Process Mining
- New Features
- 187 Datastructures
- 70 Repository
- 230 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 26 Active Directory
- 12 Version 7
- 36 Version 8
- 143 Lunch And Learn Questions