Understanding the Issue
The Superbadge: Agentforce Service is a challenging task that requires completing a series of steps to demonstrate expertise in Agentforce. However, the current issue with Challenge 3 has been causing frustration for many users. The error is due to a mismatch between the expected retriever name and the actual name generated by the org.
Root Cause of the Problem
The root cause of the issue is the hardcoded retriever name in the test class. This name is not dynamic and does not match the name generated by the org, resulting in a failure to complete the challenge.
Workaround to Complete the Challenge
To complete the challenge before the official fix is applied, users can create a retriever with the expected name manually. This workaround is described in more detail on the Trailhead community forum.
Manual Retriever Creation
// Create a retriever with the expected name manually // This will allow you to complete the challenge until the official fix is applied
Next Steps
While the workaround allows users to complete the challenge, it is essential to wait for the official fix to be applied to ensure that the issue is fully resolved.
Heads up: The official fix will be applied by the Trailhead team, and users should wait for the update before attempting to complete the challenge again.
Checklist for Completing the Challenge
Completing the Superbadge: Agentforce Service
- Create a retriever with the expected name manually
- Complete Challenge 3 using the manual workaround
- Wait for the official fix to be applied
- Retry the challenge after the official fix is applied
- Verify that the issue is fully resolved
Frequently Asked Questions
What is the cause of the issue with Challenge 3?
The issue is caused by a hardcoded retriever name in the test class that does not match the dynamic name generated by the org.
Is there a workaround to complete the challenge?
Yes, users can create a retriever with the expected name manually to complete the challenge until the official fix is applied.
When will the official fix be applied?
The official fix will be applied by the Trailhead team, and users should wait for the update before attempting to complete the challenge again.
What should I do if I have already completed the challenge using the workaround?
You should retry the challenge after the official fix is applied to ensure that the issue is fully resolved.
Need help shipping this in production?
Genetrix builds and untangles Salesforce Marketing Cloud and Agentforce setups for teams that want it done right the first time. If anything in this post sounds familiar, talk to us before it ships.