[Unity] Client SDK parameter inconsistency/error
Unsolved
APIs
-
This page describes how to call GetScheduledCloudScripts in C#, and shows the parameter Utc as Long.
In the Unity client SDK, we are expected to input a DateTime:
void GetScheduledCloudScripts(DateTime startDateUTC, ..)
Supplying a DateTime in Utc results in the following error:
400: (40359)
{"status_message":"Processing exception (message): Parameter startDateUTC cannot be parsed as Long: For input string: "2025-10-03T12:04:47Z"; For input string: "2025-10-03T12:04:47Z"","reason_code":40359,"status":400}Changing the client sdk's parameter type to Long directly works, just thought this might be worth correcting in the next release to avoid any confusion.
-
Thanks for reporting this @devsleeper !