[GH-ISSUE #972] BUG: Unable to set notification email #511

Closed
opened 2026-03-02 12:42:49 +03:00 by kerem · 4 comments
Owner

Originally created by @LNS-MElliott on GitHub (Jun 17, 2022).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/972

Describe the bug
In CIPP v2.7.0 I am unable to set a notification email address. I have tried setting this with the Webhook field blank, $null, or a fake webhook address. I am showing the green box with the checkmark to indicate that it accepts the input, but still receiving "Failed to set configuration" error. This happens in All Tenants as well as in specific tenants.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Settings > Notifications
  2. Fill out the Email and/or Webhook Fields
  3. Click "Set Notification Settings"
  4. See error: "Failed to set configuration
Originally created by @LNS-MElliott on GitHub (Jun 17, 2022). Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/972 **Describe the bug** In CIPP v2.7.0 I am unable to set a notification email address. I have tried setting this with the Webhook field blank, $null, or a fake webhook address. I am showing the green box with the checkmark to indicate that it accepts the input, but still receiving "Failed to set configuration" error. This happens in All Tenants as well as in specific tenants. **To Reproduce** Steps to reproduce the behavior: 1. Go to Settings > Notifications 2. Fill out the Email and/or Webhook Fields 3. Click "Set Notification Settings" 4. See error: "Failed to set configuration
kerem 2026-03-02 12:42:49 +03:00
Author
Owner

@KelvinTegelaar commented on GitHub (Jun 17, 2022):

Looking into this to confirm, @johnduprey had the same which resolved somehow. :)

<!-- gh-comment-id:1159127130 --> @KelvinTegelaar commented on GitHub (Jun 17, 2022): Looking into this to confirm, @johnduprey had the same which resolved somehow. :)
Author
Owner

@KelvinTegelaar commented on GitHub (Jun 17, 2022):

temp fix before we release a hotfix: enter an email, webhook, and set all checkboxes, after that you can set what you want. :)

<!-- gh-comment-id:1159151855 --> @KelvinTegelaar commented on GitHub (Jun 17, 2022): temp fix before we release a hotfix: enter an email, webhook, and set all checkboxes, after that you can set what you want. :)
Author
Owner

@LNS-MElliott commented on GitHub (Jun 17, 2022):

This mostly worked, thanks!! After setting all of them, it allowed me to save it. When trying to remove all the checkboxes and the webhook, I still had to have a webhook value. I just filled it with $null for now and that worked.

<!-- gh-comment-id:1159160747 --> @LNS-MElliott commented on GitHub (Jun 17, 2022): This mostly worked, thanks!! After setting all of them, it allowed me to save it. When trying to remove all the checkboxes and the webhook, I still had to have a webhook value. I just filled it with $null for now and that worked.
Author
Owner

@KelvinTegelaar commented on GitHub (Jun 20, 2022):

Fixed in dev

<!-- gh-comment-id:1160246060 --> @KelvinTegelaar commented on GitHub (Jun 20, 2022): Fixed in dev
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/CIPP#511
No description provided.