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

The conversation.Message structure does not return the error substructure. #127

Open
krzysztofreczek opened this issue Feb 27, 2023 · 0 comments

Comments

@krzysztofreczek
Copy link

When there is a message with a rejected status, the GET /v1/messages/:id endpoint returns an error substructure with a detailed error description as you can see in the screenshot below:
image

Unfortunately, the error substructure is not available in the Go client conversation.Message payload:

type Message struct {

Is this missing, or is there another recommended method of retrieving the error details using the Go client?

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