Closed aaronschachter closed 7 years ago
@aaronschachter How about x-blink-suppress-retry: true
instead?
Sounds good, i'll update the description.
Actually, let's make it x-blink-retry-suppress: true
to be more consistent with other x-blink-retry-
headers.
Implemented in Blink in https://github.com/DoSomething/blink/pull/74.
FEATURE OVERVIEW
User Story
As a member of the O'Doyle Family, I want members who are stuck in Campaign Conversation to receive a message that an error occurred and that we're looking into it. I also want:
ErrorOccurredMessage
.Additional Information
We plan to send a custom header in the response to Blink to know whether to retry a response with status code 500, so we'll need a new Blink issue to check for it and retry accordingly once we're sending it through.
TODO:
ErrorOccurredMessage
to the Contentful campaign type, and set a value for the default Campaignx-blink-retry-suppress
with value set totrue
Why This Matters
Users used to receive a "Whoops, an error occurred message" via Mobile Commons, when our chatbot mData would post to Gambit and get an error back.
Current behavior is that the user doesn't receive any message back at all, because Blink sends a success response to Mobile Commons indicating the message is queued. When Gambit responds with an error back to Blink, the user doesn't get a response back from us at all (and we wouldn't want them to receive 100 "An error occurred" messages for each Blink retry when the message is destined to fail).