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
Copy file name to clipboardExpand all lines: src/connections/functions/source-functions.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -258,6 +258,9 @@ The `Segment.set()` method accepts an object with the following fields:
258
258
-`id` - Object's unique identifier.
259
259
-`properties` - Object with free-form data.
260
260
261
+
> warning ""
262
+
> When you use the `set()` method, you won't see events in the Source Debugger. Segment only sends events to connected warehouses.
263
+
261
264
### Runtime and dependencies
262
265
263
266
{% include content/functions/runtime.md %}
@@ -347,11 +350,11 @@ async function onRequest(request, settings) {
347
350
348
351
### Error types
349
352
350
-
-**Bad Request** is any error thrown by your code not covered by the other errors.
353
+
-**Bad Request**: is any error thrown by your code not covered by the other errors.
351
354
-**Invalid Settings**: A configuration error prevented Segment from executing your code. If this error persists for more than an hour, [contact Segment Support](https://segment.com/help/contact/){:target="_blank"}.
352
355
-**Message Rejected**: Your code threw `InvalidEventPayload` or `ValidationError` due to invalid input.
353
356
-**Unsupported Event Type**: Your code does not implement a specific event type (`onTrack()`, etc.) or threw a `EventNotSupported` error.
354
-
-**Retry** - Your code threw `RetryError` indicating that the function should be retried.
357
+
-**Retry**: Your code threw `RetryError` indicating that the function should be retried.
355
358
356
359
Segment only attempts to run your source function again if a **Retry** error occurs.
0 commit comments