Skip to content

Commit 3c8ea07

Browse files
Update src/connections/destinations/actions.md
Co-authored-by: forstisabella <[email protected]>
1 parent f7e315f commit 3c8ea07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connections/destinations/actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ When an event triggers multiple mappings, a request is generated for each mappin
330330
Access tokens generated during initial authorization are short-lived, for example, when you connect a destination via OAuth. The token typically remains valid for 30 minutes to 1 hour. When Segment receives a `401 error` response from a destination after a token expires, it will automatically request the destination for a new token and will then retry the event. Therefore, `401` responses are sometimes expected and do not indicate an event failure. There are 3 event flows when events are received and sent to a destination:
331331

332332
- Through a source
333-
- through event tester.
333+
- Through the event tester
334334
- Through the actions tester on the mapping screen
335335

336336
The underlying systems for these flows have their own copy of the token, which can expire at different points in time. If you see a `401` error in a sample response, it is likely that another request was made afterward to fetch a new token. Then one more request was made to actually send the data in your payload to the downstream destination.

0 commit comments

Comments
 (0)