tyoshikawa1106のブログ

- Force.com Developer Blog -

SFDC:Salesforce CLIのエラーメモ

根本的に使い方を間違えているかもしれませんが、下記のコマンドを実行した時にエラーになりました。

$ sfdx force:source:pull


エラーメッセージはこちら。

MemberName, IsNameObsolete FROM SourceMember WHERE RevisionNum >
^
ERROR at Row:1:Column:52
sObject type 'SourceMember' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.

f:id:tyoshikawa1106:20180103231850p:plain

検索したらこちらがヒット。


あとはこちら。


スクラッチ組織でしか実行できないのか、設定ファイルが必要なのか、それ以外なのかわかっていませんがいつか使うかもしれないのでメモ。

追記

やっぱりforce:source:pullはスクラッチ組織用のコマンドっぽい。