Skip to content

Commit bb7f37b

Browse files
committed
update include, replace old include
1 parent a3ea094 commit bb7f37b

File tree

13 files changed

+28
-21
lines changed

13 files changed

+28
-21
lines changed
Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
1-
Several key factors can prevent events from being successfully ingested into the Segment platform through server-side libraries as sources. Understanding these reasons is crucial for troubleshooting and ensuring data integrity. Here are some suggestions to address these challenges:
1+
{% assign currentSlug = page.url | split: "/" | last %}
2+
{% assign currentIntegration = site.data.catalog.sources.items | where: "slug", currentSlug | first %}
23

3-
If you are experiencing loss of events ingested from your {% page.title %},
4+
### Other common errors
45

5-
- **Payload is too large**: If you attempt to send events larger 32KB per normal API request or batches of events larger than 500KB per request, Segment’s tracking API responds with 400 Bad Request. Try sending smaller events (or smaller batches) to mitigate this error.
6+
If you are experiencing data loss from your {{ currentIntegration.display_name }} source, you may be experiencing one or more of the following common errors:
67

7-
- **Identifier is not present**: Segment's tracking API requires that each payload has a `userId` and/or `anonymousId`. If you send events without either the `userId` or `anonymousId`, Segment's tracking API responds with ERROR CODE ERROR NAME.
8+
- **Payload is too large**: If you attempt to send events larger 32KB per normal API request or batches of events larger than 500KB per request, Segments tracking API responds with `400 Bad Request`. Try sending smaller events (or smaller batches) to correct this error.
89

9-
- **Track event is missing name**: All Track events to Segment must have an event field.
10+
- **Identifier is not present**: Segment's tracking API requires that each payload has a `userId` and/or `anonymousId`. If you send events without either the `userId` or `anonymousId`, Segment's tracking API responds with an `no_user_anon_id` error. Check the event payload and client instrumentation for more details.
1011

11-
- **Event dropped during deduplication**: Segment automatically adds a `messageId` field to all payloads and uses this value to deduplicate events. If you're manually setting a `messageId` value, ensure that each event has a unique value to avoid data loss.
12+
- **Track event is missing name**: All Track events to Segment must have a name in string format.
13+
14+
- **Event dropped during deduplication**: Segment automatically adds a `messageId` field to all payloads and uses this value to deduplicate events. If you're manually setting a `messageId` value, ensure that each event has a unique value.
15+
16+
- **Incorrect credentials**: Double check your credentials for your downstream destination(s).
17+
18+
- **Destination incompatibility**: Make sure that the destination you are troubleshooting can accept server-side API calls. You can see compatibility information on the [Destination comparison by category](/docs/connections/destinations/category-compare/) page and in the documentation for your specific destination.
19+
20+
- **Destination-specific requirements**: Check out the [destination's documentation](/docs/connections/destinations/) to see if there are other requirements for using the method and destination that you're trying to get working.

src/connections/sources/catalog/libraries/server/clojure/index.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,6 @@ You can set a custom logger on the client using:
234234

235235
1. Double check that you've set up the library correctly.
236236

237-
2. Make sure that you're calling one of our API methods once the library is successfully installed[`identify`](#identify), [`track`](#track), etc.
237+
2. Make sure that you're calling one of Segment's API methods once the library is successfully installed, like [Identify](#identify) or [Track](#track).
238238

239-
240-
241-
{% include content/troubleshooting-server-integration.md %}
239+
{% include content/server-side-troubleshooting.md %}

src/connections/sources/catalog/libraries/server/go/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,4 +525,4 @@ client, _ := analytics.NewWithConfig("h97jamjwbh", analytics.Config{
525525

526526
{% include content/troubleshooting-intro.md %}
527527
{% include content/troubleshooting-server-debugger.md %}
528-
{% include content/troubleshooting-server-integration.md %}
528+
{% include content/server-side-troubleshooting.md %}

src/connections/sources/catalog/libraries/server/go/v2/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,4 +350,4 @@ If you hate defaults you can configure analytics-go with the following fields:
350350

351351
{% include content/troubleshooting-intro.md %}
352352
{% include content/troubleshooting-server-debugger.md %}
353-
{% include content/troubleshooting-server-integration.md %}
353+
{% include content/server-side-troubleshooting.md %}

src/connections/sources/catalog/libraries/server/http-api/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,4 +482,4 @@ When sending a HTTP call from a user's device, you can collect the IP address by
482482

483483
2. Make sure that you're calling a Segment API method after the library is successfully installed—[Identify](#identify), [Track](#track), and so on.
484484

485-
{% include content/troubleshooting-server-integration.md %}
485+
{% include content/server-side-troubleshooting.md %}

src/connections/sources/catalog/libraries/server/java/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,4 +450,4 @@ repositories {
450450

451451
{% include content/troubleshooting-intro.md %}
452452
{% include content/troubleshooting-server-debugger.md %}
453-
{% include content/troubleshooting-server-integration.md %}
453+
{% include content/server-side-troubleshooting.md %}

src/connections/sources/catalog/libraries/server/net/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ client.Track(...);
501501

502502
{% include content/troubleshooting-intro.md %}
503503
{% include content/troubleshooting-server-debugger.md %}
504-
{% include content/troubleshooting-server-integration.md %}
504+
{% include content/server-side-troubleshooting.md %}
505505

506506
### Logging
507507

src/connections/sources/catalog/libraries/server/node/classic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,5 +480,5 @@ var appAnalytics = new Analytics('APP_WRITE_KEY');
480480

481481
{% include content/troubleshooting-intro.md %}
482482
{% include content/troubleshooting-server-debugger.md %}
483-
{% include content/troubleshooting-server-integration.md %}
483+
{% include content/server-side-troubleshooting.md %}
484484

src/connections/sources/catalog/libraries/server/node/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,4 +697,4 @@ analytics.track({ userId: 'foo', event: 'bar' })
697697
698698
{% include content/troubleshooting-intro.md %}
699699
{% include content/troubleshooting-server-debugger.md %}
700-
{% include content/troubleshooting-server-integration.md %}
700+
{% include content/server-side-troubleshooting.md %}

src/connections/sources/catalog/libraries/server/php/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ $ sudo service cron reload # reload the cron daemon
523523

524524
{% include content/troubleshooting-intro.md %}
525525
{% include content/troubleshooting-server-debugger.md %}
526-
{% include content/troubleshooting-server-integration.md %}
526+
{% include content/server-side-troubleshooting.md %}
527527

528528

529529
## 3rd-Party Libraries

0 commit comments

Comments
 (0)