LoginSignup
0
0

Tooling API のトラブル

Last updated at Posted at 2021-08-19

APIのまとめに戻る

このようなエラーの時

[{"message":"sObject type 'ProfileLayout' is not supported.","errorCode":"INVALID_TYPE"}]

Page layout Isssue

結局は

Since it is working in lower env can you check if there is any permission change that happened to Profile, The profile should have Modify all Data, view all data, Setup permissions? I think this is not a problem since the profile would have the same permissions in both the org but cross-check

プロファイルにアクセス許可の変更が発生したかどうかを確認します。プロファイルには、すべてのデータの変更、すべてのデータの表示、アクセス許可の設定が必要です。


"message": "sObject type 'SandboxProcess' is not supported.",
"errorCode": "INVALID_TYPE"

Tooling Api is returning error (sobject type INVALID_TYPE) when queried on SandboxProcess object

FIELD_INTEGRITY_EXCEPTION

Make sure your Meta data is complete, it should have all the custom fields values not just one , unless you are creating a new picklist.
I assume your metadata is missing the label name for the picklist.

https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007T41CaSAJ

メタデータが完全であることを確認してください。新しい選択リストを作成する場合を除き、メタデータには 1 つだけではなくすべてのカスタム フィールド値が含まれている必要があります。
メタデータに選択リストのラベル名が欠落していると思います。

PlatformEventChannelMember

[
    {
        "message": "The PlatformEventChannelMember can't be created because it references an invalid event in the \"selectedEntity\" field. If referencing a platform event, ensure the event is defined. To check the valid event name format to use, refer to the documentation.",

        "errorCode": "INVALID_INPUT",
        "fields": []
    }
]

This object is available in API version 47.0 and later.

I was using version 53.0 and jumped to 60.0 and it succeed!!!!!

It was extremely frustrating that support could not help me with something so simple, just because we are not on a premium subscription.

その他の情報

カスタム項目の作成者・作成日を一覧で取得したい

CustomFieldオブジェクトを照会し、Use Tooling APIを選択する必要があります。

SELECT DeveloperName, CreatedDate FROM CustomField WHERE TableEnumOrId = 'Account'

https://www.simplysfdc.com/2022/05/salesforce-retrieve-custom-field.html

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0