Skip to content

PowerSync React Native - Error: Could not POST streaming to /sync/stream - 401 #901

@git4theapes

Description

@git4theapes

We keep getting this error {"error":{"code":"PSYNC_S2103","status":401,"description":"JWT has expired","name":"AuthorizationError"}}

This happens less than 20 seconds after our token was refreshed.

We init the DB once and connect once. After that we let PowerSync to handle connectivity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions