Skip to content

Commit

Permalink
Link the troubleshooting from rest_api guide
Browse files Browse the repository at this point in the history
  • Loading branch information
burnash committed Jun 12, 2024
1 parent b4214f1 commit 44b8b82
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/website/docs/dlt-ecosystem/verified-sources/rest_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,8 @@ When the API endpoint supports incremental loading, you can configure the source

See the [incremental loading](../../general-usage/incremental-loading.md#incremental-loading-with-a-cursor-field) guide for more details.

If you encounter issues with incremental loading, see the [troubleshooting section](../../general-usage/incremental-loading.md#troubleshooting) in the incremental loading guide.

## Advanced configuration

`rest_api_source()` function creates the [dlt source](../../general-usage/source.md) and lets you configure the following parameters:
Expand Down Expand Up @@ -687,6 +689,10 @@ If incorrect data is received from an endpoint, check the `data_selector` field

Check the `paginator` field in the configuration. When not explicitly specified, the source tries to auto-detect the pagination method. If auto-detection fails, or the system is unsure, a warning is logged. For production environments, we recommend to specify an explicit paginator in the configuration. See the [pagination](#pagination) section for more details. Some APIs may have non-standard pagination methods, and you may need to implement a [custom paginator](../../general-usage/http/rest-client.md#implementing-a-custom-paginator).

#### Incremental loading not working

See the [troubleshooting guide](../../general-usage/incremental-loading.md#troubleshooting) for incremental loading issues.

#### Getting HTTP 404 errors

Some API may return 404 errors for resources that do not exist or have no data. Manage these responses by configuring the `ignore` action in [response actions](#response-actions).
Expand Down

0 comments on commit 44b8b82

Please sign in to comment.