Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add faq #4531

Merged
merged 4 commits into from
Nov 28, 2023
Merged

add faq #4531

Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions website/docs/docs/dbt-cloud-apis/service-tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,5 @@ To rotate your token:
4. Copy the new token and replace the old one in your systems. Store it in a safe place, as it will not be available again once the creation screen is closed.
5. Delete the old token in dbt Cloud by clicking the **trash can icon**. _Only take this action after the new token is in place to avoid service disruptions_.

## FAQs
<FAQ path="Troubleshooting/ip-restrictions" />
29 changes: 29 additions & 0 deletions website/docs/faqs/Troubleshooting/ip-restrictions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "I'm receiving a 403 error 'Forbidden: Access denied' when using service tokens"
description: "All service token traffic is now subject to IP restrictions. To resolve 403 errors, add your third-party integration CIDRs (network addresses) to the allowlist."
sidebar_label: 'Service token 403 error: Forbidden: Access denied'
---


All [service token](/docs/dbt-cloud-apis/service-tokens) traffic is subject to IP restrictions.

When using a service token, the following 403 response error indicates the IP is not on the allowlist. To resolve this, you should add your third-party integration CIDRs (network addresses) to your allowlist.

The following is an example of the 403 response error:

```json
{
"status": {
"code": 403,
"is_success": False,
"user_message": ("Forbidden: Access denied"),
"developer_message": None,
},
"data": {
"account_id": <account_id>,
"user_id": <user_id>,
"is_service_token": <boolean describing if it's a service token>,
Copy link
Contributor

@nm0s nm0s Nov 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: but maybe update to <boolean describing if it's a service token request> for more clarity

mirnawong1 marked this conversation as resolved.
Show resolved Hide resolved
"account_access_denied": True,
},
}
```
Loading