Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hhv opened this issue Mar 14, 2025 · 0 comments
Open

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

hhv opened this issue Mar 14, 2025 · 0 comments

Comments

@hhv
Copy link

hhv commented Mar 14, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant