Skip to content

SecretLabApi breaks due to updates to json body #5

@Vxrpenter

Description

@Vxrpenter

This issue occurs whenever a serverinfo request is send, it always returns a CallFailureException. When returning the cause, it mentions json body errors

kotlinx.serialization.json.internal.JsonDecodingException: Encountered an unknown key 'Error' at offset 20 at path: $
Use 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.
JSON input: {"Success": false, "Error": "Rate limit exceeded"}

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions