Skip to content

Unclear error message when using faulty replication connection type #422

@tpouriel-twipi

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions