Error "Failed to send to Slack: error=200", but notification arrives
See original GitHub issue📣 Notification Service(s) Impacted Slack
🪲 Describe the bug
When using the Apprise CLI v0.8.3 to notify a Slack channel with the method “incoming web hook”, apprise
exits with exit code 1, but the notification is delivered.
When using verbose mode -vvv
, the following lines shows up in the log:
2020-01-17 22:42:59,617 - WARNING - Failed to send to Slack: error=200.
2020-01-17 22:42:59,617 - DEBUG - Response Details:
ok
The Slack-URL I’m using has the following format:
slack://API-Deployer@xxx/xxx/xxx/#channelname
💻 Your System Details: Tested on two systems:
- OS: MacOS 10.15.2 (Catalina) and Ubuntu-latest
- Python 2.7.16 (MacOS) and 3.7 (Ubuntu)
🔮 Additional context
- Not tested with the bot method.
- This problem didn’t show up in version 0.7.8, the previous one I had.
- It shows up in my logs starting end of November, might have been introduced in 0.8.2.
- Tested also the Pushover service, this works flawlessly on both machines.
Issue Analytics
- State:
- Created 4 years ago
- Comments:28 (15 by maintainers)
Top Results From Across the Web
How to resolve an ok 200 error when integrating slack ...
The message is however successfully sent to the slack channel. The error comes into play upon the subscribe method.
Read more >Troubleshoot Slack notifications
Troubleshoot Slack notifications · An overview of notification issues · Stuck notifications or unread threads · Not receiving notifications · Delayed notifications.
Read more >Sending messages using Incoming Webhooks - Slack API
Handling errors. Though in most cases you'll receive a "HTTP 200" response with a plain text ok indicating that your message posted successfully, ......
Read more >files.upload method - Slack API
This method allows you to create or upload an existing file. You must provide either a file or content parameter. The content of...
Read more >Enabling interactions with bots - Slack API
But when you build a bot for your Slack App, you're giving that app a face, ... Your bot can send DMs, it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would also add that this picture seems fitting for this issue:
No worries; it’s my bad for not seeing this. I think @cstuder had found it originally and unable to even reproduce it then, i closed it off prematurely. I apologize for that sincerely. I’m glad it’s fixed now.