Skip to content

Commit fd35a01

Browse files
committed
Update headers
1 parent 6062904 commit fd35a01

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/connections/functions/insert-functions.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,13 +224,13 @@ Note the following limitations for batching with insert functions:
224224
225225
{% endcomment %}
226226

227-
## Destination Insert Functions logs and errors
227+
## Destination insert functions logs and errors
228228

229229
A function can throw errors, or Segment might encounter errors while invoking your function. You can view these errors in the [Event Delivery](/docs/connections/event-delivery/) tab for your Destination as in the example below.
230230

231231
![A screenshot of the event delivery tab, showing 519 failed events broken into categories explaining why they failed](images/event-delivery.png)
232232

233-
### Destination functions error types
233+
### Destination insert functions error types
234234

235235
- **Bad Request** - Any error thrown by the function code that is not covered by the other errors.
236236
- **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"}.
@@ -242,7 +242,7 @@ Segment only attempts to send the event to your destination function again if a
242242

243243
You can view Segment's list of [Integration Error Codes](/docs/connections/integration_error_codes/) for more information about what might cause an error.
244244

245-
### Destination functions logs
245+
### Destination insert functions logs
246246

247247
If your function throws an error, execution halts immediately. Segment captures the event, any outgoing requests/responses, any logs the function might have printed, as well as the error itself.
248248

@@ -267,7 +267,7 @@ async function onTrack(event, settings) {
267267
> warning ""
268268
> Don't log sensitive data, such as personally-identifying information (PII), authentication tokens, or other secrets. Avoid logging entire request/response payloads. The **Function Logs** tab may be visible to other workspace members if they have the necessary permissions.
269269
270-
## Caching in Destination Insert Functions
270+
## Caching in destination insert functions
271271

272272
Functions execute only in response to incoming data, but the environments that functions run in are generally long-running. Because of this, you can use global variables to cache small amounts of information between invocations. For example, you can reduce the number of access tokens you generate by caching a token, and regenerating it only after it expires. Segment cannot make any guarantees about the longevity of environments, but by using this strategy, you can improve the performance and reliability of your Functions by reducing the need for redundant API requests.
273273

@@ -291,7 +291,7 @@ async function getAccessToken () {
291291
}
292292
```
293293

294-
## Managing insert functions
294+
## Managing destination insert functions
295295

296296
### Functions permissions
297297

@@ -302,7 +302,7 @@ async function getAccessToken () {
302302

303303
If you are a **Workspace Owner** or **Functions Admin**, you can manage your function from the [Functions](https://app.segment.com/goto-my-workspace/functions/catalog){:target="_blank"} page.
304304

305-
## Destination Insert Functions FAQs
305+
## Destination insert functions FAQs
306306

307307
##### Can I see who made changes to a function?
308308

0 commit comments

Comments
 (0)