You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using slack/oauth for installation and authorization. Use slack/web-api to handle events and interactions. I have two questions regarding error handling
We get 'Operation timed out. Apps need to respond within three seconds', when there is a delay for interactions response. Can we customize these error messages. I want to change the message for my app for better user understanding.
I am using message.im event for my slack app. Unfortunately sometimes my server might be down and event request might not be received by server. During cases like this, When the server is down, Is there a way that I can send a default message to the user in app dm in the message tab.
Packages:
@slack/web-api
@slack/oauth
The text was updated successfully, but these errors were encountered:
Can we customize these error messages. I want to change the message for my app for better user understanding.
The error indicator on the UI is not customizable. We recommend ensuring that your Slack app server is stable enough to reliably respond to requests from Slack.
I am using message.im event for my slack app. Unfortunately sometimes my server might be down and event request might not be received by server. During cases like this, When the server is down, Is there a way that I can send a default message to the user in app dm in the message tab.
The Slack platform server retries up to 3 times when your server does not respond (see https://api.slack.com/apis/events-api#retries). After that, there is no way to re-send the same event. If your app servers struggle to remain up 24/7, having a more robust frontend server, forwarding the requests to a queue server, and then having your backend consume the queued messages might be another option to explore.
I hope these were helpful to you, and hope you'll figure out a great solution for your use case!
I am using slack/oauth for installation and authorization. Use slack/web-api to handle events and interactions. I have two questions regarding error handling
We get 'Operation timed out. Apps need to respond within three seconds', when there is a delay for interactions response. Can we customize these error messages. I want to change the message for my app for better user understanding.
I am using message.im event for my slack app. Unfortunately sometimes my server might be down and event request might not be received by server. During cases like this, When the server is down, Is there a way that I can send a default message to the user in app dm in the message tab.
Packages:
@slack/web-api
@slack/oauth
The text was updated successfully, but these errors were encountered: