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

Fetch the list of failed webhooks! #1126

Open
zohouri opened this issue Aug 27, 2024 · 1 comment
Open

Fetch the list of failed webhooks! #1126

zohouri opened this issue Aug 27, 2024 · 1 comment

Comments

@zohouri
Copy link

zohouri commented Aug 27, 2024

Describe the bug
I'm trying to fetch the list of all failed webhooks by setting filterFailed: false, but in response, I get both successful and failed webhooks!

I'm using API V4 and even tried the API described in this link: List all executed webhooks by setting failed=true, but the results are the same!

Is it a bug in API or should I send another query?

To Reproduce

const TatumInstanse = await TatumSDK.init<Bitcoin>({
        network: Network.BITCOIN,
        configureWalletProviders: [UtxoWalletProvider],
        apiKey: { v4: process.env.TATUM_V4_MAINNET_API_KEY }
      });
const failedWebhooks = await TatumInstanse.notification
  .getAllExecutedWebhooks({ filterFailed: true})
console.log(failedWebhooks )

Expected behavior
Only failed webhooks should be returned in response

Additional context
Tatum SDK version is 4.2.39

@zohouri zohouri changed the title Fetch list of failed webhooks! Fetching list of failed webhooks! Aug 27, 2024
@zohouri zohouri changed the title Fetching list of failed webhooks! Fetch the list of failed webhooks! Aug 27, 2024
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

2 participants
@zohouri and others