Skip to content

Add details to Proxy-Status header #4637

@taimoorzaeem

Description

@taimoorzaeem

Problem

As discussed in #2967 and implemented in #3955, Proxy-Status header only returns the error code which can be confusing.

Solution

To improve the DX, we should add the details to the header like:

Proxy-Status: PostgREST; error=57014; details="statement_timeout"

Metadata

Metadata

Assignees

No one assigned

    Labels

    messagesuser-facing error/informative messages
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions