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

Better error message when test webhook run from the admin UI fails #793

Closed
mooreds opened this issue Aug 6, 2020 · 1 comment
Closed
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@mooreds
Copy link
Collaborator

mooreds commented Aug 6, 2020

Better error message when test webhook run from the admin UI fails

Problem

It would be nice to get a better error message when a webhook test, run from the webhook screen in the admin UI fails.

Currently, this is the message displayed when a webhook fails:

"The webhook returned an invalid response"

This is true whether the webhook is inaccessible, returns the wrong http status code, or simply fails to run to completion.

There are no additional debugging messages in the FusionAuth UI or log files.

Solution

It'd be great to provide more information. Ideally:

  • in the UI, the type of failure (http status code, timeout, etc) would be provided
  • in the log file, a stack trace of the failed network call

Alternatives/workarounds

Test the webhook with curl and see how it responds.

Related

How to vote

Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.

Release Notes

When using the Webhook test action in the FusionAuth admin UI, additional information will now be returned if the webhook returns a non-200 status code. This should make it simpler to debug your webhook integration. Prior to this change, the response would only indicate if the response was successful or not.

@robotdan
Copy link
Member

@robotdan robotdan added this to Backlog in FusionAuth Issues via automation Sep 27, 2023
@robotdan robotdan moved this from Backlog to Code complete in FusionAuth Issues Sep 27, 2023
@robotdan robotdan moved this from Code complete to Delivered in FusionAuth Issues Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
FusionAuth Issues
  
Delivered
Development

No branches or pull requests

3 participants