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

[CDSToolkit] - Publishing additional 4 records for API invocation when there is an invocation failure #145

Open
malshaniS opened this issue Oct 14, 2024 · 3 comments

Comments

@malshaniS
Copy link
Contributor

malshaniS commented Oct 14, 2024

Description:
4 Additional records for CDS API invocation published in API_INVOCATION_RAW_DATA table.

Eg:
High priority count increase by 5 when we get 403 or 401 error for Accounts retrieval request.

Before accounts retrieval failure
Screenshot 2024-10-14 at 3 03 23 PM

After accounts retrieval failure
Screenshot 2024-10-14 at 3 03 55 PM

Records in API_INVOCATION_RAW_DATA table
Screenshot 2024-10-14 at 3 05 36 PM

Note:
Same behaviour observed for CDS, CDR and DCR APIs.

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

  1. Create a consent.
  2. Send account retrieval request with incorrect access token.
  3. Verify invocations in metrics response.

Related Issues:

@malshaniS
Copy link
Contributor Author

Getting an incorrect count for the errors metrics due to the above issue.

@imesh94
Copy link
Contributor

imesh94 commented Oct 18, 2024

Not reproduced in the latest packs

@malshaniS
Copy link
Contributor Author

Can reproduce in latest pack. Publish 2 additional records for same request.

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

No branches or pull requests

2 participants