Skip to content

Response JSON for code 408 does not have 'tx-id' field. #122

@hhv

Description

@hhv

I expected the response code 408 (request timeout) to contain a field 'tx-id' which would allow me to wait for the transaction to complete.

Instead I get this response JSON:

{"error":"db/response-timeout","message":"Timeout waiting for transaction to complete for: lido with tx-id: 40d002156a86a2fb753a2bee5b41b4b9846f6be62344f3ffd3aaf7e6ed2833f7"}

The transaction id is there, but as text in the 'message' field, not as a separate field. It's much more convenient and more in line with other responses if there is a separate field 'tx-id'.

Please add the field 'tx-id' to the response JSON.

huib.

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