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
Per the link above, if using a custom type in args which fails to parse, resulting in a verbose error message, there is a false assumption that the json params is not a structured object.
The subsequent attempt to parse out into a map interface will also fail because the data is actually structured, but the content is malformed.
This results in a misleading error message
The text was updated successfully, but these errors were encountered:
reference: https://github.com/gorilla/rpc/blob/master/v2/json2/server.go#L165
Per the link above, if using a custom type in args which fails to parse, resulting in a verbose error message, there is a false assumption that the json params is not a structured object.
The subsequent attempt to parse out into a map interface will also fail because the data is actually structured, but the content is malformed.
This results in a misleading error message
The text was updated successfully, but these errors were encountered: