Janet Carson
10/24/2025, 5:45 PMNate
10/24/2025, 6:03 PMJanet Carson
10/24/2025, 6:46 PMJanet Carson
11/26/2025, 9:13 PMJanet Carson
11/26/2025, 9:14 PMNate
11/26/2025, 9:14 PMJanet Carson
11/26/2025, 9:14 PMNate
11/26/2025, 9:14 PMJanet Carson
11/26/2025, 9:14 PMJanet Carson
11/26/2025, 9:21 PMNate
11/26/2025, 10:53 PMNate
11/26/2025, 10:53 PMJanet Carson
11/26/2025, 11:03 PM15:02:37.271 | INFO | apprise - Notifying 1 service(s) asynchronously.
15:02:37.458 | WARNING | apprise - Failed to send to Slack: Page not found., error=404.Janet Carson
11/26/2025, 11:32 PMIn [19]: @flow
...: def my_function():
...: from prefect.blocks.notifications import SlackWebhook
...: from apprise.logger import LogCapture
...:
...: with LogCapture(level=logging.DEBUG - 1) as caplog:
...: slack_webhook_block = SlackWebhook.load("my-channel-bot")
...: slack_webhook_block.notify("Hello World!")
...: print(caplog.getvalue())
And verified that it still tried to contact slack rather than slack-gov
2025-11-26 15:29:05,138 - DEBUG - Loaded Slack URL: <slack://T>...1/B...J/k...d//?image=yes&footer=yes×tamp=yes&blocks=no&format=markdown&overflow=upstream
2025-11-26 15:29:05,140 - INFO - Notifying 1 service(s) asynchronously.
2025-11-26 15:29:05,141 - DEBUG - Slack POST URL: <https://hooks.slack.com/services/><REDACTED> (cert_verify=True)Nate
11/27/2025, 4:01 PMprefect version shows in the environment where the server process runs? or where you tested it?Nate
11/27/2025, 4:01 PMJanet Carson
11/27/2025, 5:22 PMNate
11/27/2025, 5:26 PMJanet Carson
12/01/2025, 5:58 PM3.6.5.dev4+3.g3d0511983
installed as prefect @ git+<https://github.com/prefecthq/prefect.git@devin/1764194888-slack-gov-webhook-support>Nate
12/01/2025, 6:01 PMJanet Carson
12/01/2025, 6:03 PM2025-12-01 09:55:01,399 - TRACE - Slack URL <slack://REDACTED//?image=yes&footer=yes×tamp=yes&blocks=no&format=markdown&overflow=upstream> unpacked as:
user="None"
password="None"
port="None"
host=REDACTED (but token_a)
fullpath=REDACTED (token_b/token_c)
path=REDACTED (token_b/token_c)
query="None"
schema="slack"
url="<slack://REDACTED>"
qsd="{'image': 'yes', 'footer': 'yes', 'timestamp': 'yes', 'blocks': 'no', 'format': 'markdown', 'overflow': 'upstream'}"
qsd+="{}"
qsd-="{}"
qsd:="{}"
secure="False"
verify="True"
format="markdown"
overflow="upstream"
token_a=REDACTED (but tokens look fine)
token_b=REDACTED
token_c=REDACTED
targets="[]"
include_image="True"
include_timestamp="True"
use_blocks="False"
include_footer="True"
2025-12-01 09:55:01,400 - DEBUG - Loaded Slack URL: <slack://T>...1/B...J/k...d//?image=yes&footer=yes×tamp=yes&blocks=no&format=markdown&overflow=upstream
2025-12-01 09:55:01,403 - INFO - Notifying 1 service(s) asynchronously.
2025-12-01 09:55:01,404 - DEBUG - Slack POST URL: <https://hooks.slack.com/services/REDACTED> (cert_verify=True) **WRONG HOST IN URL**
2025-12-01 09:55:01,405 - DEBUG - Slack Payload: {'username': 'Prefect Notifications', 'mrkdwn': True, 'attachments': [{'title': '', 'text': 'Hello world!', 'color': '#3AA3E3', 'footer_icon': '<https://github.com/caronc/apprise/raw/master/apprise/assets/themes/default/apprise-info-72x72.png>', 'footer': 'Prefect Notifications', 'ts': 1764611701.404968}], 'icon_url': '<https://github.com/caronc/apprise/raw/master/apprise/assets/themes/default/apprise-info-72x72.png>'}
2025-12-01 09:55:01,606 - WARNING - Failed to send to Slack: Page not found., error=404.
2025-12-01 09:55:01,607 - DEBUG - Response Details:
b'no_team'Nate
12/01/2025, 6:22 PMJanet Carson
12/01/2025, 6:37 PMNate
12/01/2025, 6:39 PMpython -c "import prefect; print(prefect.__version__)"Nate
12/01/2025, 6:39 PMJanet Carson
12/01/2025, 6:40 PM3.6.5.dev4+3.g3d0511983Nate
12/01/2025, 6:41 PM3.6.5.dev6+2.g01bc01e040Janet Carson
12/01/2025, 6:49 PM3.6.5.dev4+5.g01bc01e04
Is 4+5 instead of 6+2 ok?Nate
12/01/2025, 6:49 PMJanet Carson
12/01/2025, 6:50 PMNate
12/01/2025, 6:50 PMNate
12/01/2025, 6:51 PMNate
12/01/2025, 6:51 PMJanet Carson
12/01/2025, 6:51 PMJanet Carson
12/01/2025, 6:52 PM