Skip to content

Make PG sync validation message more concise #2787

Description

@joshestein

🧩 Summary

Log message itself on validation warning is too verbose. Reduce it to what is absolutely necessary.

Current message:

Airtable validation warning encountered, attempting to proceed by setting the affected fields to undefined. Warning message: Failed to map record from Airtable format for table 'self_serve_course_registration' (tbla338CpAd0FF96g) and record rec1ArmjQ8wUmBwDC: Failed to map field fullName (fldsS2lCVlk1WDSDw) from Airtable: Cannot convert value from airtable type 'multipleLookupValues' to 'string | null', as the Airtable API provided a 'object'. Suggestion: Update the types in your table definition to compatible types for your Airtable base. (Table: tbla338CpAd0FF96g) (Field: fldsS2lCVlk1WDSDw)

⚠️ This error occurred 54 times affecting 54 record(s):
rec1ArmjQ8wUmBwDC, rec1uUahU5KwhytD0, rec2E9mOARdRHsch3, rec2XCb0ZcK3urHOY, rec2xxUiGaGZLrTKI, rec3M2cBXwFuMqoor, rec3j3IVWlGteoofp, rec4QBakFMe8WuYTA, rec5GqXizMJdtUzRH, rec6kutZxk6aEr7yK and 44 more

✅ Definition of done

Message is more concise, fluff removed, easier to scan/act on. Also embed rich URLs for some of the problematic records (if possible).

📌 Notes / Designs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions