A request toward an invalid webhook URL get 200 OK response (expected: 302 redirection) #1122
Labels
bug
M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented
project:slack-api-client
project:slack-api-client
Milestone
Reproducible in:
The Slack SDK version
com.slack.api:slack-api-client:1.27.3
Java Runtime version
openjdk version "17.0.5" 2022-10-18
OpenJDK Runtime Environment Homebrew (build 17.0.5+0)
OpenJDK 64-Bit Server VM Homebrew (build 17.0.5+0, mixed mode, sharing)
OS info
ProductName: macOS
ProductVersion: 12.6
BuildVersion: 21G115
Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64
Steps to reproduce:
Submitting against a dummy webhook will result in a response with code 200 instead of an error code.
Expected result:
Error codes should be returned.
Actual result:
Code 200 will be returned.
Requirements
Please make sure if this topic is specific to this SDK. For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you agree to those rules.
The text was updated successfully, but these errors were encountered: