You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As sessionId is part of the request URL and the second argument is used for the request Body, it seems that the missing request body causes the problem.
The text was updated successfully, but these errors were encountered:
Hi @jfoshee !
Thanks for the detailed write-up here. Like you mention, it sounds like the issue can be resolved by ensuring the second parameter (the request body) is always passed, even if it’s empty. This is why the working request adds an empty body: new().
In your opinion, do you thinking changing that field to be explicitly required would provide a good resolution?
Repro Code
SDKError.Response
Speculation
Note that Sessions.CreateSessionTokenAsync has an optional second parameter for overriding the default expiration.
If we make the request as so, then the request succeeds:
As
sessionId
is part of the request URL and the second argument is used for the request Body, it seems that the missing request body causes the problem.The text was updated successfully, but these errors were encountered: