LoginSignup
0
0

Scratch Orgでのエラー

Last updated at Posted at 2024-02-05

SFDX: Create a Default Scratch Org... failed to run

再インストールしたらしい

Error (1): This command can only be used on orgs that have source tracking enabled, such as sandboxes and scratch orgs.

Looks like the issue was reported to Github, but was closed. This prompted me to switch to a different sandbox and see if the problem existed in all of them, and it turns out it doesn't. They were both refreshed at the same time, so I can only deduce that something someone was working on in the first sandbox must have skronked something that broke the connection between that sandbox and prod so the differences couldn't be tracked.

Resetting tracking (sfdx project reset tracking) threw the same error, which makes perefect sense since you'd have to be able to reference the tracking info in order to reset it.

So I suppose the next thing to do is wait until we refresh the offending sandbox and see if that fixes it. It should, given that I can track source in the second andbox, which tells me the Dev Hub isn't corrupted, and since he devtest1 sandbox (the one with the problem) will be refreshed from prod, that shoud lfix it.

この問題は Github に報告されたようですが、クローズされました。このため、別のサンドボックスに切り替えて、すべてのサンドボックスに問題が存在するかどうかを確認するように促されましたが、実際には存在しないことが判明しました。それらは両方とも同時に更新されたため、誰かが最初のサンドボックスで作業していた何かが、そのサンドボックスと本番環境の間の接続を壊す何らかの問題を引き起こし、違いを追跡できなくなったに違いないと推測することしかできません。

トラッキングをリセットすると (sfdx プロジェクトのリセット トラッキング)、同じエラーがスローされました。リセットするにはトラッキング情報を参照できる必要があるため、これは完全に理にかなっています。

したがって、次に行うべきことは、問題のあるサンドボックスを更新して、それが修正されるかどうかを確認するまで待つことだと思います。2 番目のアンドボックスでソースを追跡できることを考えると、Dev Hub が破損していないことがわかり、devtest1 サンドボックス (問題のあるもの) が本番環境から更新されるため、それを修正する必要があります

summer23 複数通貨が有効になっているスクラッチ組織でユーザーの詳細を更新するとエラーが発生する

既知の問題

With working with support, a new known issue has been created for Summer '24:

https://issues.salesforce.com/issue/a028c00000zJQl5/scratch-org-creation-failure-using-orgshape-after-summer24-release

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