Plaid INVALID_BODY 'body could not be parsed as JSON' when passing datetime to phone_number_verified_time
Pass a timezone-aware datetime, not a naive one. datetime.fromtimestamp(0) has no tzinfo, so the SDK serializes it without the 'Z' suffix and Plaid rejects the body. Use datetime.datetime.now(datetime.timezone.utc) or datetime.datetime(2021, 11, 1, 0, 0, tzinfo=datetime.timezone.utc). You can't pass a string ins…
Problem outcome: unknown