> For the complete documentation index, see [llms.txt](https://docs-embed.anyflow.jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-embed.anyflow.jp/connectors/notes/cybozu-auth-error.md).

# cybozu.com製品で認証エラーとなる場合

kintone等のcybozu.com製品でアプリの認証がエラーとなる場合によくある事象について説明します。

## IPアドレス制限が行われている

エンドユーザーがcybozu.comで[IPアドレス制限](https://jp.cybozu.help/general/ja/admin/list_security/list_access/ip_restrictions.html)を適用している場合は、Anyflowとの通信が許可されないため、認証が失敗します。

エンドユーザーがcybozu.com の共通管理にて、IP制限ホワイトリストに`AnyflowのIPアドレス`を追加すると解消されます。

```
Anyflow IPアドレス
34.85.41.213
```

設定方法は以下を確認してください。

[IPアドレス制限を設定する - cybozu.comヘルプ](https://jp.cybozu.help/general/ja/admin/list_security/list_access/ip_restrictions/enable_ip.html)

<figure><img src="https://files.readme.io/606c574-image.png" alt="cybozu.com共通管理でAnyflowのIPアドレスを許可する" width="600"><figcaption><p>cybozu.com共通管理でAnyflowのIPアドレスを許可する</p></figcaption></figure>

## APIトークンに設定ミスがある

kintoneの場合、APIトークンの設定にミスがある場合は、認証が失敗することがあります。

以下の観点を確認してください。

1. Anyflowの認証画面で、アプリID, APIトークン, サブドメインの入力に誤りがないか

<figure><img src="https://files.readme.io/7e01318-image.png" alt="Anyflowのkintone認証画面" width="600"><figcaption><p>Anyflowのkintone認証画面</p></figcaption></figure>

<br>

2. kintoneのAPIトークン作成画面で、「保存」ボタンを押しているか
3. 2の操作後にkintoneのアプリ設定画面で、「アプリを更新」ボタンを押しているか

<figure><img src="https://files.readme.io/917cb0c-image.png" alt="kintoneのヘルプより抜粋" width="600"><figcaption><p>kintoneのヘルプより抜粋</p></figcaption></figure>

APIトークンの作成・保存方法は以下を確認してください。

[APIトークンを作成する - kintoneヘルプ](https://jp.cybozu.help/k/ja/user/app_settings/api_token.html)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs-embed.anyflow.jp/connectors/notes/cybozu-auth-error.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
