内部で使っているオラクルのDBからのエラーメッセージみたい。
レコードに対してアップサート操作を実行すると、以下のエラーが表示される場合があります:
ORA-20000: ORA-06512: at "SNEEZY.SIMPORTLOOKUP", line 850 ORA-06512: at "SNEEZY.SIMPORTLOOKUP", line 823 ORA-06512: at line 1 : SQLException while executing plsql statement
オプションの External_ID_Field パラメータは、組織のデータにすでに存在するレコードと一致させるために使用するカスタム フィールドを指定するオプションの変数です。このカスタム フィールドは、外部 ID 属性を選択して作成する必要があります。
また、フィールドで Unique 属性が選択されていない場合は、コンテキスト ユーザは、対象オブジェクトに対する「すべて表示」オブジェクト レベルの権限、または「すべてのデータを表示」権限を持っている必要があります。そうしないと、upsert によって重複レコードが誤って挿入されることになります。upsert
ステートメント
これを回避するには、次のいずれかを実行します。
- フィールド「External_Id__c」に一致する「フィールド」を一意になるように更新します。2
. オブジェクトのすべてのデータを表示するようにユーザープロファイルを変更します。
類似のエラー
Cause: Your lead could not be processed.
common.exception.SfdcSqlException: ORA-20025:I'
ORA-06512: at "DOC.CACCESS", line 2435
ORA-06512: at "DOC.CACCESS", line 585
ORA-06512: at "DOC.CACCESS", line 666
ORA-06512: at "DOC.CTASK", line 552
ORA-06512: at line 1
caused by: System.DmlException: Update failed. First exception on row 67 with id 08p2S00000ajAIDQA2; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Validation Formula "SALC_Canceled_validation_regular" Invalid (ORA-20001:
ORA-06512: at "GRUMPY.TACCESS", line 110
ORA-01403: no data found
ORA-06512: at "GRUMPY.CACCESS", line 3228
ORA-06512: at "GRUMPY.CACCESS", line 2915
ORA-06512: at line 1
SQLException while executing plsql statement: {call cAccess.check_entity_access_proc_ncu(?,?,?,?,?,?)}(EXCLUDED, EXCLUDED, 5002S00001CnV3u, EXCLUDED, true, false)): []
UNKNOWN_EXCEPTION:common.exception.SqlNoDataFoundException: ORA-01403: no data found ORA-06512: at "DOC.CACCESS", line 3481 ORA-06512: at "DOC.CPRODUCTACCESS", line 1033 ORA-06512: at "DOC.CACCESS", line 3300 ORA-06512: at "DOC.CACCESS", line 3039 ORA-06512: at line 1 SQLException while executing plsql statement: {call cAccess.check_entity_access_proc_ncu(?,?,?,?,?,?,gUtil.gtypes_bool_to_boolean(?),gUtil.gtypes_bool_to_boolean(?),gUtil.gtypes_bool_to_boolean(?),gUtil.gtypes_bool_to_boolean(?))}(EXCLUDED, EXCLUDED, 01uIS000001DqTP, EXCLUDED, true, false, true, false, true, false); [conn=STANDARD:7:7:2589:34435]:--