Skip to content

conn.sync() returns 404 #101

@resuni

Description

@resuni

Trying to use conn.sync() based on this example returns the following error:

$ python3 sync_example.py 
Traceback (most recent call last):
  File "/path_redacted/sync_example.py", line 11, in <module>
    conn = libsql.connect("local.db", sync_url=url, auth_token=auth_token)
ValueError: sync error: failed to pull db export: status=404 Not Found, error=

I'm trying the example exactly as written, except I defined my url and auth_token explicitly without making the os.getenv() function calls.

Is this a bug or is the example wrong?

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