{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"トラブルシューティング","projectTitle":"Tisane Developer Documentation","description":"Tisane is an NLP platform, used for content moderation & more.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"トラブルシューティング","__idx":0},"children":["トラブルシューティング"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tisane APIへのリクエストが失敗した場合、以下のエラーコードとトラブルシューティングの手順を確認してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"api呼び出しがエラーコード400bad-requestで失敗","__idx":1},"children":["API呼び出しがエラーコード400（Bad Request）で失敗"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["通常、これは不正な形式または無効なリクエストボディを意味します。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/parse"]},"と",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/transform"]},"では、入力コンテンツと有効な言語コードを指定する必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["考えられる原因："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["無効なJSON。文字列に未終了の文字列リテラルやエスケープされていないダブルクォートが含まれていないか確認してください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["無効な言語コード。言語モデルが存在し、属性名が正しいことを確認してください（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/parse"]}," では",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["language"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/transform"]},"では",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["from"]},"と",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["to"]},")。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["content"]},"要素の欠落"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"api呼び出しがエラーコード401unauthorizedで失敗","__idx":2},"children":["API呼び出しがエラーコード401（Unauthorized）で失敗"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["これは、リクエストが認証に失敗したことを意味します。考えられる原因："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["不正なAPIキー"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Ocp-Apim-Subscription-Key"]}," HTTPヘッダーに正しいAPIキー値を必ず指定してください。"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["レート制限超過"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["各サブスクリプションプランにはレート制限があります。無料のCommunity Planのレート制限は、1分あたり10リクエストのみに設定されています（テストには十分ですが、ほとんどの用途の本番環境には不十分です）。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://tisane.ai/subscription-plans/"},"children":["サブスクリプションプランページ"]},"でレート制限を確認してください。"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["月間クォータ超過"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["月間クォータに達した場合は、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://tisane.ai/subscription-plans/"},"children":["サブスクリプションプランページ"]},"でアップグレードをご検討ください。月間クォータに近づくと、複数の通知が送信されます。"]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"api呼び出しがエラーコード404で失敗","__idx":3},"children":["API呼び出しがエラーコード404で失敗"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["メソッド名が正しいことを確認し、動詞が正しいことを確認してください。例えば、操作に",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST"]},"を使用している場合に",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET"]},"を指定すると、ステータスコード404が返されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"その他のエラーコードinvalid-jsonまたはmarkup-issues","__idx":4},"children":["その他のエラーコード（Invalid JSONまたはMarkup Issues）"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["401以外のエラーが表示される場合は、JSONのフォーマットが不正であるか確認してください。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ダブルクォートの適切なエスケープ"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["コンテンツにダブルクォート （",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\""]},"） が含まれている場合、適切にエスケープ（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\\\""]},"） しているか確認してください。"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["マークアップコンテンツの送信の回避"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tisane APIは自然言語を処理するため、コンテンツとしてHTML、XML、またはJSONを送信すると問題が発生する可能性があります。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["マークアップを送信する必要がある場合は、送信前に入力内容のサニタイズを行ってください。"]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"apiキーの取得","__idx":5},"children":["APIキーの取得"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["tl;dr"]},"：開発者向けポータルにサインインし、プロフィールページからAPIキーを取得してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"手順","__idx":6},"children":["手順"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://dev.tisane.ai/signin/"},"children":["こちら"]},"をクリックして、ご登録の認証情報でログインします。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["アカウントをお持ちでない場合は、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://dev.tisane.ai/signup/"},"children":["こちら"]},"から登録します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["画面の右上にあるメニューをクリックして、「プロフィール」に移動するか、**",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://dev.tisane.ai/profile"},"children":["こちらのダイレクトリンク"]},"を使用します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["「プライマリキー」または「セカンダリキー」で、「表示」をクリックしてAPIキーを表示します。******"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["アプリケーション内で、このキーを",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Ocp-Apim-Subscription-Key"]}," HTTPヘッダーとして指定します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"一般的なトラブルシューティングの手順","__idx":7},"children":["一般的なトラブルシューティングの手順"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["APIキーを確認します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["サブスクリプションの制限を確認します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["送信前にJSONフォーマットを検証します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["入力内容のサニタイズを行い、任意のマークアップを削除します"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"期待する応答が得られていません","__idx":8},"children":["期待する応答が得られていません"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["100%の精度を保証することはできませんが、ご不明な点がございましたら、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://tisane.ai/contact-us/#support"},"children":["お問い合わせ"]},"ください。ご確認いたします。当社は、Tisaneの精度向上に継続的に取り組んでおり、お客様のご協力に感謝いたします。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"マークアップコンテンツhtmlまたはxmlからテキストを処理することはできますか","__idx":9},"children":["マークアップコンテンツ（HTMLまたはXML）からテキストを処理することはできますか？"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下の正規表現は、任意のプログラミング言語でテキストからHTMLタグを削除するために使用できる汎用的なものです。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<[^>]+>"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<"]}," → HTMLタグの",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["開始角括弧"]},"と同等です。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["[^>]+"]}," → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["タグ内の任意の文字（"]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":[">"]},"を除く）と同等です。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":[">"]}," → HTMLタグの",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["閉じ角括弧"]},"と同等です。"]}]}]},"headings":[{"value":"トラブルシューティング","id":"トラブルシューティング","depth":1},{"value":"API呼び出しがエラーコード400（Bad Request）で失敗","id":"api呼び出しがエラーコード400bad-requestで失敗","depth":2},{"value":"API呼び出しがエラーコード401（Unauthorized）で失敗","id":"api呼び出しがエラーコード401unauthorizedで失敗","depth":2},{"value":"API呼び出しがエラーコード404で失敗","id":"api呼び出しがエラーコード404で失敗","depth":2},{"value":"その他のエラーコード（Invalid JSONまたはMarkup Issues）","id":"その他のエラーコードinvalid-jsonまたはmarkup-issues","depth":2},{"value":"APIキーの取得","id":"apiキーの取得","depth":2},{"value":"手順","id":"手順","depth":3},{"value":"一般的なトラブルシューティングの手順","id":"一般的なトラブルシューティングの手順","depth":2},{"value":"期待する応答が得られていません","id":"期待する応答が得られていません","depth":2},{"value":"マークアップコンテンツ（HTMLまたはXML）からテキストを処理することはできますか？","id":"マークアップコンテンツhtmlまたはxmlからテキストを処理することはできますか","depth":2}],"frontmatter":{"seo":{"title":"トラブルシューティング"}},"lastModified":"2025-05-28T01:30:52.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/support/troubleshooting","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}