Hello, there is an issue in the Directory Agent Pools API specification.
The lastConnection property is defined as string <date-time> in the OpenAPI specification. Generated parsers in Okta SDKs thus expect something like this:
"lastConnection": "2013-07-02T21:36:25.344Z"
But the agent pools API actually uses the number <unixtime> (or number <int64>) format for the lastConnection property, e.g.,
"lastConnection": 1628263766000
This inconsistency causes issues with parsing the JSON data at least in the .NET SDK, but other SDKs are probably affected as well.