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

[まとめページに戻る](https://qiita.com/Keiji_otsubo/items/60afc2a8d211b6f7d89f)

[2022年07月未解決の質問](https://qiita.com/Keiji_otsubo/items/9dc62693eeb772d87cf0)
[2022年07月何故かベストアンサーをつけてくれない質問](https://qiita.com/Keiji_otsubo/items/91a54a80e81ff3aeaf12)

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

# Could not find required Filter criteria 'Related Position: Department equals Position: Department'. 

+ [Build a Data Model for a Recruiting App Create a Self Relationship with the Position Object](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000HDnjwSAD)

:::note
This article was helpful. Department data type was incorrect, I changed it to correct one.
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/0cfc92e5-3dc3-4624-7bb4-f93989d4fb83.png)
:::


#  we can't find a filter where the 'Billing City' is 'San Francisco'. 
+ [I did everything as requested and I still get this message: Challenge not yet complete in My Trailhead Playground 1 In My Account and Contact Dashboard, we can't find a filter where the 'Billing city' is 'San Francisco'. Anyone willing to help please?](https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000A9BnASAV)
+ [Billing city @ San francisco](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000HE7ziSAD)

# The campingList JavaScript controller isn't setting the 'newItem' value provider with a blank Camping_Item__c sObject to reset the form.

+ [The campingList JavaScript controller isn't setting the 'newItem' value provider with a blank Camping_Item__c sObject to reset the form.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000HE8sx)

:::note
I have successfully completed this challenge, if any one faces same issue then please consider the YouTube video link mentioned above. Last time I have missed one "_" at "Camping_Item__c", so the error comimg.


私はこの課題を無事に完了しました。同じ問題が発生した場合は、上記の YouTube ビデオ リンクを検討してください。前回は「Camping_Item__c」の「_」が一つ抜けていたので、エラーが出ました。
:::


# ERROR PipelineCallServlet|520317175|Sites-cdi-us-Site|AfterpayRedirect-HandleResponse|PipelineCall|pYngS1Y8oO system.core Sites-cdi-us-Site STOREFRONT pYngS1Y8oO SosafqdwyGJkAAAK-0-00 877392115102661632 - Exception occurred during request processing: QuotaLimitExceededException Limit for quota 'api.dw.net.HTTPClient.send()' exceeded. Limit is 8, actual is 9.  

+ [Quota exceeded HTTPClient.send()](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000IQRw3)

:::note
 While I was getting this error, I believe the real error was related to something else.  Setting an email variable to a null value and maybe it was having cascading effects downstream.  I fixed that and it seems to have resolved this issue as well.  


このエラーが発生していましたが、実際のエラーは何か他のものに関連していたと思います。メール変数を null 値に設定すると、ダウンストリームにカスケード効果が発生した可能性があります。私はそれを修正し、この問題も解決したようです。
:::



# I'm a little leary about downloading the Identity Provider Certificate.

+ [I'm a little leary about downloading the Identity Provider Certificate.](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000IQM1Z)

# invalid currency code in NumberFormat() error in "Add Business Logic" unit

削除されている
+ [invalid currency code in NumberFormat() error in "Add Business Logic" unit](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000IQSSJSA5)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/f3c81fee-1c67-cc5d-112f-11026b510c32.png)

# Internal Salesforce.com Error

+ [Omission Problem in Query Salesforce](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000Hmq32)





# ClientInputError : LineEnding is invalid on user data. Current LineEnding setting is CRLF

+ [Use Bulk API 2.0 : ClientInputError : LineEnding is invalid on user data.](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000IQADFSA5)

:::note
Found the solution lower down, error from using a Windows OS on the supplied csv file.
Solution: Change lineEnding from CRLF to LF in the Create Job POST 

```
{
"operation" : "insert",
"object" : "Account",
"contentType" : "CSV",
"lineEnding" : "LF"
}
```
:::

# This object containing this lookup has a summary field in another object. Remove the summary usage and try again

+ [Deleting a Master Detailed Relationship](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000IRJzJ)

:::note
I had the same problem, and fixed it as follows, I switched to salesforce classic, I looked for the object that had deleted the field> I went to "Fields" and down there I clicked on "Deleted fields", I found the roll-up summary fields that had deleted it there and clicked on Erased, done that, the problem no longer occurred. https://help.salesforce.com/articleView?id=sf.fields_manage_deleted_fields_classic.htm&type=5

https://developer.salesforce.com/forums/?id=9060G0000005bQ7QAI
:::

# パスと変更セットの問題

+ [Problem with Path and Change set](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000IR76FSAT)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/a235f63a-5c79-3f5d-1081-49549c3cb9b1.png)

:::note
For anyone who runs into this same problem, it was because when I moved from Sandbox to production I didn't move any profiles with it, so some fields were not accessible. Once I made sure all fields on the custom object were visible to me as Admin, it worked. Then after testing I made it available to other profiles as well. 

これと同じ問題に遭遇した人にとっては、サンドボックスから本番環境に移行したときにプロファイルを移行しなかったため、一部のフィールドにアクセスできなかったことが原因でした. カスタム オブジェクトのすべてのフィールドが管理者として表示されることを確認すると、機能しました。次に、テストした後、他のプロファイルでも利用できるようにしました。 
:::



# We couldn't find an Approval Post Template for opportunities named 'Opportunity Approvals'.

+ [Struggling with "Approve Records from a Chatter Feed" challenge—Trailhead cannot find my completed challenge.](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000HENV5)

:::note
Thanks for reaching out! I got a good night's sleep and reread the module instructions. It turned out to be a simple category error. Earlier, I was mistakenly trying to create an Approval Process when I should have been creating a Post Template. When I created the Post Template, everything went smoothly!
:::



# 古い回答で気になったもの

+ [「接続を拒否しました」と表示されているWebタブ](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000A9Bnw)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/6ff7c82a-6177-7a90-4979-431d07e970d6.png)

:::note
Set X-Frame-Options response header

DENY : Reject display

SAMEORIGIN  : Allows pages to be displayed only within the same domain

ALLOW-FROM :uri Allows page display only for the specified URI

www.google.com is SAMEORIGIN 

It's a source server setting, so I don't think it's possible on the Web tab.
:::