Skip to content
New issue

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

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

Already on GitHub? # to your account

Request returns empty 429 #1511

Closed
reut-wild-moose opened this issue Feb 6, 2024 · 1 comment
Closed

Request returns empty 429 #1511

reut-wild-moose opened this issue Feb 6, 2024 · 1 comment
Labels

Comments

@reut-wild-moose
Copy link

There seems to be an internal Datadog bug
We are seeing the log messages: Got error deserializing error: Error: missing required property 'errors' coming from Datadog SDK, it seems to happen when our api calls returns 429

The error code body returned is empty:

HTTP-Code: 429
Message: ""

it seems like an internal issue where DD expects to have errors property for this error but doesn't

@skarimo
Copy link
Member

skarimo commented Feb 7, 2024

Hello, thanks for the report. You are correct, this occurs when the error response differs from the anticipated response, in this case missing errors.

However, we ensure a proper APIException is still thrown, for example: https://github.com/DataDog/datadog-api-client-typescript/blob/master/packages/datadog-api-client-v1/apis/DashboardsApi.ts#L681-L685

I think this log is a bit noisy and we will look into removing it or downgrading it to debug instead.

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

No branches or pull requests

2 participants