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
get_channel_archived_public_threads() (and possibly get_channel_archived_private_threads(); I’m not sure if that one is also affected) optionally takes a before parameter that is currently just an Option<u64> that gets converted to a string and then sent to the route, from what I can tell. However, the Discord API docs specify that this parameter should be in the ISO8601 format.
As a result, when trying to pass e.g. a unix timestamp as a u64 to get_channel_archived_public_threads(), I get the following error message after trying to execute this against a forum channel:
Invalid Form Body (before: Could not parse 1664162557. Should be ISO8601.)
The text was updated successfully, but these errors were encountered:
Sirraide
changed the title
get_channel_archived_publicj_threads seems to not be using ISO8601 for the before parameterget_channel_archived_public_threads() seems to not be using ISO8601 for the before parameter
Jan 9, 2024
get_channel_archived_public_threads()
(and possiblyget_channel_archived_private_threads()
; I’m not sure if that one is also affected) optionally takes abefore
parameter that is currently just anOption<u64>
that gets converted to a string and then sent to the route, from what I can tell. However, the Discord API docs specify that this parameter should be in the ISO8601 format.As a result, when trying to pass e.g. a unix timestamp as a
u64
toget_channel_archived_public_threads()
, I get the following error message after trying to execute this against a forum channel:The text was updated successfully, but these errors were encountered: