2024年07月の質問の中から整理します

[まとめページに戻る](https://qiita.com/Keiji_otsubo/items/60afc2a8d211b6f7d89f)
[Trailhead関係　年月で整理に戻る](https://qiita.com/Keiji_otsubo/items/84deb9c88d800102261a)

**参照して頂くのは結構ですが、そのまま内容を丸ごとコピーするような行為は控えて欲しいです。一応時間を掛けて作っているので、その点はご考慮願いたいです。**

なるべく、回答の中身も転記しておきます。結構な割合で質問者さんが黒歴史を消したいのか質問自体を削除しますので... 最良の答えとしてもらっても即消されることは大変多いです。
しかし、ここ最近は質問の数がかなり激減しています。新規のユーザが減っている感じがする。成長戦略も終わりかもしれませんね。既存のユーザをもっと大切にしないといけないフェーズになったのかもしれません。



[2024年07月未解決の質問](https://qiita.com/Keiji_otsubo/items/312dee0216b3e0fb0c22)

------------------------

# NO_ACCESS: User was not authorized for the community

+ ["Set Up Social Sign-On" module, erroring at the very last step of Challenge Section (all steps completed successfully). When I try to log in to Partners using Google authentication, error msg " NO_Access : User was not authorized for the communit](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007epoF4)

:::note
I had the same issue but was able to resolve it by activating google for the "Customer" site and log in there.  It passed the trail even though the instructions said to use the "Partner" site. 

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

Hey All, after some research, there is actually a workaround when you get an error when trying to use your own email. It turns out that there is a conflict with the previous user used on the challenge, therefore, try to use a different email to try to login to Google. I have a second Google email and it allowed me to create the user. Hope this helps 

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

+ [Hi all. I'm stuck at Identity for Customers > Set Up Social Sign-On. I used my and even a new Google email address, but I still get the error: NO_ACCESS: User was not authorized for the community](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ifdEY)

:::note
Hi all. I solved it by following this trailhead link and following this from "Garrett Flood (Garrett Flood) Oct 3, 2023, 6:05 PM:

 I had the same issue but was able to resolve it by activating google for the "Customer" site and log in there.  It passed the trail even though the instructions said to use the "Partner" site. 
:::

# We can't find the flow 'Notification: Case for Large Account'.

+ [We can't find the flow 'Notification: Case for Large Account'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007epsSH)

新しいプレイグランドで対応

# We couldn't find the 'Average_Annual_Electric_Cost__c' field on the 'Energy_Audit__c' custom object.

+ [Is there something wrong with the "Meet Ursa Major Solar" challenge? This involves working with custom objects and fields primarily...](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007cmFTbSAM)

API名が違っている

# We couldn’t find a macro called “Send Email Notification for Case Escalation.” Double check that your macro uses the same name. 

:::note
Here's screenshot of macro from macro builder. I'm sure this will also be similar to yours. Also, I'm assuming that you've created macro for Send button as shown in the same screenshot. I was able to successfully submit it with these details. 

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/9a669195-4c9b-3c96-2dfa-fc9cc162947c.png)

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

# We couldn’t find the List View Name 'Energy and Biotech Accounts'. Ensure that you have followed all the instructions to create the List View. 

+ [Error on "Create unique Account List View"](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007cmI1q)

:::note
Please check this article.

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

Is it set like this?
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/bcb26c8e-cd63-7776-cc8d-691a68807223.png)
:::

+ [ドキュメント チェックリスト項目オブジェクトが FSC の Customer Community Plus プロファイルに表示されない](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007RJkpR)

# Make sure that the Start element is connected to the 'Contact Info' screen.

+ [For TH Flows - Build a simple Flow, verification error Step not yet complete in Discount Approval Make sure that the Start element is connected to the 'Contact Info' screen.
](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007cmH6H)

:::note
I have reviewed the issue in your org and flow screen component has API name incorrect.
I have updated it to Contact_Info and then challenge is verified successfully.

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/dcb0eca6-5c07-a566-ee78-9c279dccb882.png)


組織の問題を確認したところ、フロー画面コンポーネントの API 名が正しくありませんでした。
Contact_Info に更新すると、チャレンジが正常に検証されました。
:::

# We couldn't find a validation rule called 'Every Position Must Have a Hiring Mgr' on the Position object. for this challenge. 

+ [We couldn't find a validation rule called 'Every Position Must Have a Hiring Mgr' on the Position object. / Need help from salesforce support](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007epuITSAY)

:::note
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/dd1f9aca-e865-b2e6-4a1f-1ae38db97299.png)


As per the error, I have created the validation rule 'Zip Code Consistent with State' on Candidate object and now the challenge is working as expected.
:::

# We couldn't find a custom object called 'Applicant__c'. Review the instructions for creating the custom object.

+ [Unable to complete this challenge on Set Organization-Wide Defaults and Create a Role Hierarchy](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007cmJ5K)

:::note
 I have reviewed the issue in your org and can't see the Applicant object created.

 ![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/37f3f145-f811-2bb2-a24b-cffdac6eb26d.png)
:::

# We can’t find an active service resource for Nikki Thork as a Technician

+ [am stuck trying to fix this challenge it dont say its active](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007eq3tTSAQ)

# Platform Developer I Certification Maintenance (Winter '24) > Get Hands-on with Bind Variables in a SOQL Query

+ [Need help with completion of hands-on challenge](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007cmLGR)

:::note alert
An unexpected error occurred while attempting to execute the new method 'getContactIDWithBinds'. Make sure the method works when passing the values as bind variables, and that the dynamic query string results in a valid SOQL query (check for spaces).
:::

:::note
Please check this article.

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

I tried in two old and one new orgs, all get this error message. After changed the query string to:
```
String queryStr = 'SELECT ID FROM Contact WHERE lastName = :lastName AND title = :title LIMIT 1';
 ```
:::


 # Case Reason　が表示されない？

 + [Service and Support Applications || Al crear un caso no figura el campo "Case Reason"
](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007eq8SZ)

FLSの設定ができていない

# We can’t find the correct SOQL query in the AccountUtility class.

+ [I'm stuck on Create a for loop to iterate through a SOQL query and trying to fix](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007eoiuU)



# we can’t find the ‘Do Not Call’ field in the Contacts related list

+ [Hello, I am facing "On the Account Layout page layout, we can’t find the ‘Do Not Call’ field in the Contacts related list" this issue.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007cmPkC)

:::note
Refer to this: https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A8W0ESAV
:::

# identity verification がない？

+ [I do not have the "identity verification" option. only "identity verification history"](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007cmPts)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/8c3b1308-cf42-b41f-004c-18d2e1308bea.png)

:::note
Please check this article.

https://help.salesforce.com/s/articleView?id=000386368&type=1
:::

# The product option 'Interior Badge Reader' is not in the 'Authenticators' feature.

+ [am stuck when i try to edit the Security Console product,](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007eqLDs)

:::note
Add the function "Authenticators" to the following options of the product "Security Console".

Interior Badge Reader 
Exterior Badge Reader 
Interior keypad 
Exterior Keypad 

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


# Found at least one medium or high risk Password Policies settings. Ensure that you have eliminated all medium and high risks for the Password Policies settings group before attempting this challenge again

+ [Protect Your Salesforce Data  Security Basics > Use Health Check to Scan Your Security Configurations](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007T4XlQSAV)

エラーメッセージが変わった？

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/7258082d-e153-1763-07a5-41213d13d248.png)

:::note
Please check this article.

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

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

# The 'Email Lead Routing' element isn’t located immediately after the 'Chatter Post to Account Owner' element.

+ [In the Communicate Using the Action Element, I am getting the error message "The 'Email Lead Routing' element isn’t located immediately after the 'Chatter Post to Account Owner' element."](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007cmPRP)

:::note
I now have this issue solved and got my badge.  I had the API name typed without the underscores (hangs head in shame).  
:::


# Method does not exist or incorrect signature:void startTest() from the type test

+ [Trailhedadについて](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007cmTHA)

:::note
testというクラスを作っていませんか？名前が重複しているとおもいます。

Test.startTest();をsystem.Test.startTest();に変更してみてください。
Test.stopTest();も同じようにsystem.Test.stopTest();
:::