Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Slack-Dev-201 Exam - Topic 8 Question 1 Discussion

What must an app do shortly after receiving an Events API request to avoid retries?
A) Reply with a 200-level HTTP response quickly
B) Send back a Block Kit payload
C) Log out the user
D) Request a new OAuth scope

Salesforce Slack-Dev-201 Exam - Topic 8 Question 1 Discussion

Actual exam question for Salesforce's Slack-Dev-201 exam
Question #: 1
Topic #: 8
[All Slack-Dev-201 Questions]

What must an app do shortly after receiving an Events API request to avoid retries?

Show Suggested Answer Hide Answer
Suggested Answer: A

Slack requires an application using HTTP Events API delivery to acknowledge an event request with an HTTP `2xx` response within three seconds. If Slack does not receive a successful acknowledgment in that period, the delivery attempt is treated as unsuccessful and Slack may retry the event. Slack recommends responding with `HTTP 200 OK` as rapidly as possible and separating event ingestion from potentially slow business processing. A robust production architecture typically acknowledges the request immediately, places the event on a queue, and performs downstream processing asynchronously. This prevents expensive API calls, database operations, or external-service dependencies from delaying acknowledgment and producing duplicate deliveries. Returning Block Kit content is unnecessary for acknowledgment, while user logout and scope requests are unrelated. Therefore, A is correct and represents an important Slack scalability and reliability pattern.


Contribute your Thoughts:

0/2000 characters

Currently there are no comments in this discussion, be the first to comment!


Save Cancel