Skip to content

Logging Improvements for Materialization Credential Issues #632

Open
@dyaffe

Description

@dyaffe

Problem
A user just came to me and said that they received the following error message when trying to save a materialization:

Waiting for logs...
ERRO[0001] connector failed                              error="exit status 1" logSource="[ghcr.io/estuary/materialize-google-sheets:v1](http://ghcr.io/estuary/materialize-google-sheets:v1)" operation=validate
file:///flow.json error at /materializations/trial~1swift~1testB :
driver error while validating materialization trial/swift/testB

Caused by:
    driver.Validate: exit status 1 with stderr:
   
    building sheets service: invalid character 'a' after top-level value
   
FATA[0004] fatal error                                   err="1 build errors"
Copying file:///tmp/.tmpB32qwA/builds/070e4023f1220800 [Content-Type=application/octet-stream]...
/ [0 files][    0.0 B/152.0 KiB]                                                
/ [1 files][152.0 KiB/152.0 KiB]

This was impossible to diagnose for him with that error message, but the end problem was that his credentials were input incorrectly. We should improve the logs message.

The logs token was 810c51ea-c945-45f6-b29d-973dcc7ff4c2 and the draft ID 07:0e:40:0e:2b:22:00:00

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions