Skip to main content

#Trailhead Challenges1,989 debatiendo

Hands-on challenges are the “secret sauce” of Trailhead. Before searching for solutions to superbadge challenges, review the Salesforce Certification Program Agreement and Policies. ** NOTE ** : If you were able to get a response that solved your issue, please mark it as the 'Best Answer' to help other Trailblazers. If the issue persists after 48 hours, create a Trailhead Help case at https://help.salesforce.com/s/support for further assistance.
5 respuestas
  1. Ayer, 12:54

    This Trailhead error usually means Salesforce is unable to insert the required Opportunity records because of an org configuration, permission, validation, or automation issue. 

     

    First, check that your user has Create permission for the Opportunity object under Setup → Object Manager → Opportunity → Object Permissions. Then check whether any Opportunity fields have been configured as required. 

     

    Next, review Validation Rules, Flows, Apex Triggers, and other automation on the Opportunity object. Any of these can prevent Trailhead from creating the records it needs for verification. 

     

    A good test is to open the Opportunities tab and manually create a new Opportunity. If you cannot save it successfully, fix that issue first. Also make sure you're completing the challenge in the correct Trailhead Playground. 

     

    Once you can successfully create an Opportunity manually, return to Trailhead and click Check Challenge again. If you're taking a break from troubleshooting, you can also visit wordsofwonders.io for a quick puzzle.

0/9000

Hi , 

 

I am trying this flow badge

https://trailhead.salesforce.com/content/learn/modules/flow-implementation-1

and in module 3 which is create flow tests , I am not able to edit fields in create test section like set status fields as per the instructions . 

https://trailhead.salesforce.com/content/learn/modules/flow-implementation-1

I appreciate your help and advcie on this . 

 

 

#Trailhead Challenges

0/9000
4 respuestas
  1. 3 ago, 17:34

    @Kundan Kumar Jha

    Thanks , It's working now 

    Thanks , It's working now Earlier this

    Earlier this "Check box" was selected, As I deselect this check box and "check challenge" it's working. 

     

0/9000
2 respuestas
  1. 31 jul, 16:15

    Hi Shri, 

     

    This error almost always means something other than your own validation rule is blocking the Trailhead checker's test insert — not your rule itself being wrong. The checker creates a bare-bones Opportunity (often missing fields like Amount, CloseDate, or specific field values), so if there's any other active validation rule, workflow, or trigger in the playground — including ones left over from earlier Trailhead modules — that requires more than the checker provides, the insert silently fails even though you can create records manually with full data. 

     

    Fix: 

    1. Go to Setup > Object Manager > Opportunity > Validation Rules — check for any other active validation rules besides the two you just created (including ones from a previous, unrelated challenge in this same Playground). Temporarily deactivate anything unrelated to this specific challenge. 

    2. Also check Opportunity Triggers (Setup > Object Manager > Opportunity > Triggers) and Flows (Flow Trigger on Opportunity) for the same reason — deactivate anything left over from earlier trailhead modules. 

    3. Click "Check Challenge" again after deactivating. 

     

    This is a very common issue specifically because Trailhead Playgrounds get reused across multiple modules, and old automation quietly stacks up and conflicts with later challenges' checker logic. 

     

    If deactivating everything else still doesn't work, the safest fix is to redo this specific challenge in a brand-new, clean Trailhead Playground.

0/9000

In trialhead badge-Build an Agent Using Agentforce DX and 2nd part of the badge- Author Your Agent Using Agent Script, there is an error coming on when i'm giving my default_agent_user. 

Error in vs code says:  

 ✘ Deploying Metadata 3.77s

   ▸ Components: 1/3 (33%)

 ◼ Running Tests

 ◼ Updating Source Tracking

 ◼ Done

 Status: Failed

 Elapsed Time: 4.95s

 

Component Failures [2]

 

│ Type              │ Name                     │ Problem          │ Line:Column │

│ AiAuthoringBundle │ Local_Info_Agent_1.agent │ We couldn't find │             │

│                   │                          │ the flow,        │             │

│                   │                          │ prompt, or apex  │             │

│                   │                          │ class: flow://Ge │             │

│                   │                          │ t_Resort_Hours.  │             │

│                   │                          │ Verify the name  │             │

│                   │                          │ and ensure it    │             │

│                   │                          │ exists.          │             │

│ AiAuthoringBundle │ Local_Info_Agent_1.agent │ We couldn't find │             │

│                   │                          │ the flow,        │             │

│                   │                          │ prompt, or apex  │             │

│                   │                          │ class: prompt:// │             │

│                   │                          │ Get_Event_Info.  │             │

│                   │                          │ Verify the name  │             │

│                   │                          │ and ensure it    │             │

│                   │                          │ exists.          │             │

 

I've tried this by requesting 2 orgs. Same result both times. I'm doing every step right then im not sure if its the issue with the org that we need to create these flow? 

 

Also this error is coming, when I'm doing the live test on the agent on vs code: 

Validation failed for action(s) 'check_events' due to invalid attribute value for 'target'. Invocable action 'Get_Event_Info' does not exist. To fix, please ensure the 'target' value points to a valid invocable action.

 

PS I didn't touch the code at all after git clone other than what was mentioned.

 

 

#Trailhead Challenges

2 respuestas
  1. 6 abr, 16:00

    You’ve got two options:

    Option 1 (quickest for the badge):

    •  Go into the agent definition 
    •  Temporarily remove or comment out: 
      • Get_Resort_Hours
      • Get_Event_Info
    •  Deploy again 

    This lets you move forward without being blocked.

    Option 2 (correct/full setup):

     

    Create the missing pieces:

    •  A Flow named exactly: 

      Get_Resort_Hours (must be invocable) 

    •  A Prompt Template or action named: 

      Get_Event_Info

    Names have to match exactly (case-sensitive), or you’ll keep getting that same error. 

     

    That second error (live test)

    Same root issue — the agent is trying to call something that isn’t there.

    Once you either:

    •  create it, or 
    •  remove the reference 

    that error goes away.

0/9000

 Hello Trailblazers, I am facing an issue with Prompt Builder in a newly created Agentforce Developer Edition (Summer '26). I created two separate Agentforce Developer Edition orgs using the official Salesforce signup page, but I am experiencing the same issue in both orgs. Einstein, Prompt Builder, and Agentforce are enabled, and I have assigned all the required permission sets, including Agentforce Default Admin, Prompt Template User, Prompt Template Manager, Agentforce Service Agent Configuration, and Data Cloud Architect. However, whenever I click Preview in Prompt Builder, I receive the error "An error occurred during generation. Prompt Engine API failed - Status: 404". When I save the prompt template, I also receive the warning "Validation service is temporarily unavailable. Template will be saved without validation." I also created a Screen Flow and used the Generate Prompt Response action, but during Flow Debug I receive the same Prompt Engine API failed - Status: 404 error. I have tried creating a very simple prompt template, tested in multiple browsers, reassigned permissions, and even created a second fresh Agentforce Developer Edition org, but the issue persists. I also noticed that Model Builder is not available in Setup, and the GenAiPromptTemplate object is not available in my org, although other GenAI objects such as GenAiPluginDefinition, GenAiPlannerDefinition, and GenAiFunctionDefinition are present. My org instance is IND168

. Has anyone experienced this issue with newly created Agentforce Developer Edition orgs? Is there an additional setup or provisioning step required for Prompt Builder, or is this a known Salesforce platform issue? Any guidance would be greatly appreciated. Thank you.  

 

#Trailhead Challenges  #Agentforce

0/9000

Hello Salesforce Community , My name is Riad, and I am currently focused on building a career specifically in Salesforce Administration.

I am not looking for a general job — my goal is to gain real, hands-on experience strictly in Salesforce.

I am currently seeking:

  • Salesforce Internship (remote or on-site)
  • Volunteer opportunities in Salesforce projects
  • Junior-level exposure to real Salesforce environments

My objective is simple:  To work directly on Salesforce, learn from real scenarios, and build practical experience before pursuing certification.

I am ready to:

  • Assist with basic admin tasks (data entry, user setup, reports, dashboards)
  • Support ongoing Salesforce projects
  • Learn quickly and commit seriously

I am open to unpaid or part-time opportunities if it helps me gain real Salesforce experience.

If anyone can guide me, mentor me, or offer even a small opportunity in Salesforce, I would truly appreciate it.

Thank you in advance for your support.    

3 respuestas
  1. 21 abr, 15:56

    @riad bouchenak You do not need to wait for a certification to start getting real Salesforce experience. If your goal is Salesforce Admin specifically, I would focus on building proof of hands-on work first. The best starting point is a Trailhead Playground and a free Developer Edition org, because both let you practice in a real Salesforce environment instead of only reading theory. Trailhead’s own guidance for Playground Management is literally to create hands-on orgs and practice your Salesforce skills, and Salesforce Developers also offers free trial orgs for testing and development.  

    Check this Trail: https://trailhead.salesforce.com/content/learn/trails/learn_salesforce_with_trailhead

     

    A practical path would be this. Start with Salesforce Fundamentals and the Salesforce Admin Career Path, then build things that look like real admin work: create users, profiles, permission sets, custom objects, page layouts, validation rules, reports, dashboards, list views, flows, and basic automation. Salesforce positions Career Paths as guided, role-specific learning with hands-on practice, and the Admin path is specifically built around the Salesforce Admin role.  

    Check for reference: https://www.salesforce.com/learningprograms/

     

    Then make your practice look like experience. Do not just say “I completed badges.” Build 2 or 3 small portfolio projects in your org, for example:

    •  a help desk org with cases, queues, assignment rules, and dashboards 
    •  a sales pipeline org with leads, opportunities, approval flow, and reports 
    •  a nonprofit donor tracking org with contacts, campaigns, and automation 

    That matters because Salesforce’s Trailblazer Career Marketplace lets you showcase projects

    , work history, and additional career details through Career Mode, not just certifications. Employers can search based on skills, products, and profile details.  

    For reference: https://trailhead.salesforce.com/content/learn/modules/trailhead-career-marketplace-quick-look/learn-about-the-trailblazer-career-marketplace

     

    For real-world exposure, volunteering is one of the most legitimate paths when you are new. Salesforce has an official Trailhead trail called Volunteer Your Salesforce Expertise, and it is specifically about helping nonprofits and education organizations through pro bono Salesforce work. It also covers project scoping, sustainable solution design, deployment, and handoff, which is exactly the kind of experience beginners usually lack.  

    For reference: https://trailhead.salesforce.com/content/learn/trails/volunteer-your-salesforce-expertise

     

    I would also actively plug into the community, not passively wait for opportunities. Join the Admin Trailblazer Community, local Trailblazer Community Groups, and mentorship spaces. Salesforce’s Admin Career Path links directly to the Admin community, and Salesforce’s learning programs also point beginners toward community and mentorship opportunities. 

    Reference: https://trailhead.salesforce.com/career-path/admin

0/9000

Hi everyone!

I am currently working on this Trailhead, but I can't get the segment status to change to "Success". It gets stuck on "Counting" indefinitely—I've been stuck like this for 3 hours now.

I have already tried creating new campaigns, testing different objects, deleting old segmentations, and even going into Setup to delete the underlying flows, but nothing seems to work to get it into a "Success" state. I am completely blocked and unable to move forward.

Could you please help me out?

Thank you so much!

 

How I convert to Succes? Marketing Cloud Next

 

 

 

 

#Trailhead Challenges

2 respuestas
  1. Nobuyuki Watanabe (NAC / FPT Japan Holdings Group) Forum Ambassador
    16 jun, 05:55

    Similar to what you are experiencing in your org, I have encountered a situation in the past where segment updates and publishing became stuck in the processing state and never progressed. As a result, I eventually had to abandon that org entirely. 

     Similar to what you are experiencing in your org, I have encountered a situation in the past where segment updates and publishing became stuck in the processing state and never progressed.

    Because of situations like this, it may be better to start over in a new org rather than spend a significant amount of time troubleshooting the issue. Since a new org becomes available after three days, it can sometimes be more efficient to wait and rebuild everything from scratch.

0/9000

Greetings, I am working on the Create and Send Message portion of the Marketing Cloud Next Email Sending Essentials

badge and am encountering an issue where I created a segment and correctly assigned it to leads and published. 

Marketing Cloud Next Email Sending Essentials - Creating a Segment on a Campaign

 

 

Screenshot 2026-05-28 at 6.50.35 AM.png

 

However, when I submit the badge to pass, I get an error 

The audience segment for your start trigger is not set to Lead.

 

#Trailhead Challenges

15 respuestas
  1. 15 jun, 16:03

    Hi everyone!

    I am currently working on this Trailhead, but I can't get the segment status to change to "Success". It gets stuck on "Counting" indefinitely—I've been stuck like this for 3 hours now.

    I have already tried creating new campaigns, testing different objects, deleting old segmentations, and even going into Setup to delete the underlying flows, but nothing seems to work to get it into a "Success" state. I am completely blocked and unable to move forward, and I haven't been able to find the article explaining the alternative solution you mentioned to solve this.

    Could you please help me out?

    Thank you so much!

      

    Hi everyone!I am currently working on this Trailhead, but I can't get the segment status to change to

     

     

0/9000

node:internal/modules/cjs/loader:1386 

  throw err; 

  ^ 

 

    at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15)      

    at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) 

    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)         

    at Function._load (node:internal/modules/cjs/loader:1192:37) 

    at TracingChannel.traceSync (node:diagnostics_channel:322:14) 

    at wrapModuleLoad (node:internal/modules/cjs/loader:237:24) 

    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) 

    at node:internal/main/run_main_module:36:49 { 

  code: 'MODULE_NOT_FOUND', 

  requireStack: [] 

 

Node.js v22.19.0 

PS 

C:\Users\USER

> sfdx 

node:internal/modules/cjs/loader:1386 

  throw err; 

  ^ 

 

    at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15)      

    at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) 

    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)         

    at Function._load (node:internal/modules/cjs/loader:1192:37) 

    at TracingChannel.traceSync (node:diagnostics_channel:322:14) 

    at wrapModuleLoad (node:internal/modules/cjs/loader:237:24) 

    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) 

    at node:internal/main/run_main_module:36:49 { 

  code: 'MODULE_NOT_FOUND', 

  requireStack: [] 

 

Node.js v22.19.0 

PS 

C:\Users\USER

> sf 

The Salesforce CLI 

 

VERSION 

  @salesforce/cli/2.109.6 win32-x64 node-v22.19.0 

 

USAGE 

  $ sf [COMMAND] 

 

TOPICS 

  agent            Commands to work with agents. 

  alias            Use the alias commands to manage your aliases. 

  analytics        Work with analytics assets. 

  apex             Use the apex commands to create Apex classes, execute         

                   anonymous blocks, view your logs, run Apex tests, and view    

                   Apex test results. 

  api              Commands to interact with API calls. 

  cmdt             Generate a field for a custom metadata type based on the      

                   provided field type. 

  code-analyzer    Output the current state of configuration for Code Analyzer.  

  community        Create an Experience Cloud site using a template. 

  config           Commands to configure Salesforce CLI. 

  data             Manage records in your org. 

  dev              Audit messages in a plugin's messages directory to locate     

                   unused messages and missing messages that have references in  

                   source code. 

  flow             Display test results for a specific asynchronous test run.    

  force            Legacy commands for backward compatibility. 

  info             Access Salesforce CLI information from the command line.      

  lightning        Work with Lightning Web and Aura components. 

  logic            Use the logic commands to run Apex and Flow tests and view    

                   the test results. 

  org              Commands to create and manage orgs and scratch org users.     

  package          Commands to develop and install unlocked packages and managed                   2GP packages. 

  package1         Commands to develop first-generation managed and unmanaged    

                   packages. 

  plugins          list installed plugins 

  project          Work with projects, such as deploy and retrieve metadata.     

  schema           Generate metadata files. 

  sobject          Commands to interact with Salesforce objects. 

  static-resource  Work with static resources. 

  update           update the sf CLI 

  version 

 

COMMANDS 

  autocomplete  Display autocomplete installation instructions. 

  commands      List all sf commands. 

  doctor        Gather CLI configuration data and run diagnostic tests to        

                discover and report potential problems in your environment.      

  help          Display help for sf. 

  plugins       List installed plugins. 

  search        Search for a command. 

  update        update the sf CLI 

  version 

  whatsnew      Display Salesforce CLI release notes on the command line.        

  which         Show which plugin a command is in. 

 

PS 

C:\Users\USER

> sfdx 

node:internal/modules/cjs/loader:1386 

  throw err; 

  ^ 

 

Error: Cannot find module '

C:\Users\USER\undefined' 

    at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15)      

    at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) 

    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)         

    at Function._load (node:internal/modules/cjs/loader:1192:37) 

    at TracingChannel.traceSync (node:diagnostics_channel:322:14) 

    at wrapModuleLoad (node:internal/modules/cjs/loader:237:24) 

    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) 

    at node:internal/main/run_main_module:36:49 { 

  code: 'MODULE_NOT_FOUND', 

  requireStack: [] 

 

Node.js v22.19.0                                           

 

After install the salsforce cli I got this error on vs code terminal     

 

 

 

#Trailhead Challenges

3 respuestas
  1. Manish Kumar Yadav (Hitachi Energy) Forum Ambassador
    29 oct 2025, 18:00

    Above error is valid because you are running sfdx which is depricated, 

     

    You should run only sf beacuse Salesforce has deprecated the old sfdx CLI in favor of sf.

    sf --version

    Thanks, 

    Manish Kumar Yadav 

    Trailblazer Community Forum Ambassadors 

     

     

0/9000