CyberSource / CyberSource/cybersource-rest-client-node

ManageWebhooks api deleteWebhookSubscription method responds 406 due to incorrect accept header in 0.0.70

Open
#173 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
49
Forks
50
Avg merge
18m
Merged PRs (30d)
2

Description

ManageWebhooks api deleteWebhookSubscription method responds 406 due to incorrect accept header in 0.0.70

It's been broken since 0.0.65 or 0.0.66 after updating accept header to application/hal+json;charset=utf-8 instead of application/json;charset=utf-8

Sample request correlation id to test api:
v-c-correlation-id: 4045c4f3-b3ad-4f75-b95e-ed5852bcf5a1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the ManageWebhooks API implementation and the deleteWebhookSubscription method. Compare its Accept header with the issue's expected application/json;charset=utf-8 value, then verify the request no longer receives a 406 response using the supplied correlation ID or the repository's relevant API tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.