AgentbuilderでCloud StorageとDatastoreの定期的な同期が「Request contains an invalid argument」エラーで失敗する
Cloud Storageのデータを1日おきに同期するDatastoreを作成したいと考えていますが、Agentbuilderを使用してCloud Storageのデータを1日ごとに同期させる機能を搭載したDatastoreの作成を試みると、以下のエラーが発生し、どのバケットを使用しても同じエラーが発生します。
Request contains an invalid argument.
Agentbuilderを使用して、Cloud Storageのデータを1日ごとに同期させる機能を設定したDatastoreを作成しようとすると、上記のエラーが発生します。
エラーログを確認したところ、以下のようなメソッドが実行されています:
実行メソッド: google.cloud.discoveryengine.v1alpha.DataConnectorService.SetUpDataConnector
このメソッドについて、discoveryengine.v1alphaリファレンスを確認しましたが、SetUpDataConnectorメソッドに関する記載はなく、公式ドキュメントにまだ情報が記載されていないメソッドのようです。
したがって、ここからのさらなる追跡が難しい状況です。
「1回限り」の同期設定でDatastoreの作成は成功する一方で、「定期的」な同期設定を行うとエラーが発生するため、問題はCloud Storageのパスやファイルの問題ではなく、「定期的」な同期設定に関連している可能性が高いと考えています。
Cloud Storageの設定:
保存場所: asia-northeast1(東京)
ストレージクラス: Nearline
アクセス制御: 均一
デフォルトの保持期間を使用
Agentbuilderの設定:
アプリの種類: 検索
内容: 汎用
Enterpriseエディションと高度なLLM機能を有効化
アプリ名: test_agent
アプリのロケーション: global
Datastoreの設定:
ソース: Cloud Storage
データ形式: 非構造化ドキュメント(PDF、HTML、TXTなど)
同期の頻度: 定期的(1日毎)
バケット名: test_bucket
データコネクタ名: connector
作成を実行するアカウントを変更して再試行
同期の頻度を1日、3日、5日に変更して実行
データコネクタ名を「connector」に短縮して実行
Cloud StorageバケットとAgentbuilderのリージョンを米国のMulti-regionに指定して実行
類似のエラーメッセージが発生しているケースは確認していますが、Datastoreの自動同期に関する既存の事例は見つかっていません。
同様の経験がある方や、解決策をご存じの方がいらっしゃいましたら、ご教示いただけると助かります。
-------
Agentbuilder fails to sync Cloud Storage and Datastore periodically with "Request contains an invalid argument" error
I am trying to create a Datastore with Agentbuilder that synchronizes Cloud Storage data every day. However, when attempting to set up a Datastore with the function to synchronize Cloud Storage data daily using Agentbuilder, the following error occurs, regardless of which bucket is used:
When using Agentbuilder to create a Datastore with the function to synchronize Cloud Storage data daily, the above error occurs. Upon checking the error logs, the following method is being executed:
google.cloud.discoveryengine.v1alpha.DataConnectorService.SetUpDataConnector
I have checked the discoveryengine.v1alpha reference, but there is no description of the SetUpDataConnector method, and it seems to be a method not yet documented officially. Therefore, further tracking from here is difficult.
The Datastore creation succeeds with the "one-time" sync setting, but the error occurs when set to "periodic," suggesting that the issue is likely related to the "periodic" sync setting rather than the Cloud Storage path or the files.
Cloud Storage Settings:
Bucket Name: test_bucket
Location: asia-northeast1 (Tokyo)
Storage Class: Nearline
Access Control: Uniform
Default Retention Period: Used
Agentbuilder Settings:
App Type: Search
Content: General
Enabled Enterprise Edition and Advanced LLM Features
App Name: test_agent
App Location: global
Datastore Settings:
Source: Cloud Storage
Data Format: Unstructured documents (PDF, HTML, TXT, etc.)
Sync Frequency: Periodic (every day)
Bucket Name: test_bucket
Data Connector Name: connector
Changed the account used for execution and retried
Changed the sync frequency to 1, 3, and 5 days and retried
Shortened the data connector name to "connector" and retried
Set both the Cloud Storage bucket and Agentbuilder region to Multi-region (US) and retried
While there are cases with similar error messages, there are no existing cases related to automatic synchronization of Datastores. If anyone has had a similar experience or knows a solution, any guidance would be greatly appreciated.
Hello,
Thank you for contacting the Google Cloud Community.
I have gone through your reported issue, however it seems like this is an issue observed specifically at your end. It would need more specific debugging and analysis. To ensure a faster resolution and dedicated support for your issue, I kindly request you to file a support ticket by clicking here. Our support team will prioritize your request and provide you with the assistance you need.
For individual support issues, it is best to utilize the support ticketing system. We appreciate your cooperation!
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |