Skip to content

Ignore the unwanted webhook requests from the KooKoo causing multiple error logs at application level #84

@Sachinbisht27

Description

@Sachinbisht27

Describe the bug
We are receiving around 100-150 errors a day in the logging and monitoring dashboard for the RP_IVR callback service. This is due to the unwanted webhook details shared by the KooKoo IVR. The webhook shared by KooKoo is not completed which is not getting handled properly in our webhook processing service.

To Reproduce
Steps to reproduce the behavior:

  1. Set Callback payload
  "AccountSid": "123456789123", 
  "To": "+", 
  "Direction": "outbound-api"
}
  1. Trigger Callback function with POST request
  2. See the error

Expected behavior
We wanted to ignore the webhooks shared by the KooKoo IVR whenever there are no user and call details present in the webhook.

  • Add a check to pick the user's phone number from the webhook.
  • If not fetched ignore the webhook and return from the service.
  • Test and Deploy the Fix.

Screenshots
image

Environment (please complete the following information):

  • Production

Additional context
NA

Acceptance Criteria

  • The error log for this issue should not come in the logging and monitoring dashbaord.

Documentation
Add whatever documentation will be required here.

Metadata

Metadata

Assignees

Labels

Point: 1bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions