Skip to content

Encoding argument $3 failed: attempted to encode a non-document type at the top level: Array #7

@CenTdemeern1

Description

@CenTdemeern1

Signing up doesn't seem to work on sqlx-sqlite; it always seems to give this weird error?

[backend/src/api/register.rs:6:5] auth.signup(&form).await = Err(
    SqlxError(
        Encode(
            "Encoding argument $3 failed: attempted to encode a non-document type at the top level: Array",
        ),
    ),
)

Am I doing something wrong?

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