Skip to content

Unclear error message when using faulty replication connection type #422

Description

@tpouriel-twipi

Hey Powersync team !

I just struggled with my Powersync container throwing "Sync rules not available" error messages when my error was in the config.yaml file. See:

replication:
  connections:
    - type: postgres
#  error here ^^^^
#  correct value is postgresql 
      uri: !env PS_DATA_SOURCE_URI

      # SSL settings
      sslmode: disable # 'verify-full' (default) or 'verify-ca' or 'disable'

Maybe the error message could be more specific when failing to parse the config ?
This is non-blocking but I thought this might help you enhance the product :)

Thanks !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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