Skip to main content

#Trailhead Challenges1 170 personnes en discutent

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.
Discutez-en dans Slack pour obtenir des réponses plus rapides et une aide en temps réel.

Hello Everyone,

I'm working on the Data Security > Control Access to Objects module and trying to complete the hands-on challenge.

The challenge requires creating a Manage Positions permission set and assigning permissions to the Position object. However, I can't find the Recruiting sample objects in any of my Trailhead Playgrounds.

I checked:

  • Setup → Object Manager
  • Permission Sets → Object Settings
  • App Launcher
  • Installed Packages

The following objects are missing:

  • Position
  • Candidate
  • Job Application
  • Review

Standard objects such as Account, Contact, and Case are available, but the Recruiting objects referenced throughout the module do not exist.

I have tried:

  1. Using my existing Salesforce Playground.
  2. Creating a brand-new Trailhead Playground.
  3. Verifying that I'm using the correct hands-on org.

Because the Position object is missing, I'm unable to create the Manage Positions permission set required for the challenge.

Has anyone encountered this issue recently? Is there a package that needs to be installed, or are there updated instructions for completing this challenge?

Thank you for your help. 

 

#Trailhead Challenges  #Trailhead Playground  #Salesforce Admin

2 réponses

 Issue:

 Namespace Registries → Link Namespace fails with 

error=invalid_request&error_description=missing required code challenge 

Connected App: SalesforceDX Namespace Registry — Require Proof Key for Code Exchange (PKCE) is checked and read-only

 (“contact Support”). 

How unlock/disable PKCE on this Connected App ? 

We need link a namespace for managed 2GP / AppExchange.  

 

#Trailhead Challenges

1 réponse
  1. 1 sept., 07:37

    Hi @Yurii Osypov

     This isn't something you can fix on your side the 

    SalesforceDX Namespace Registry

     connected app is a Salesforce-owned system app (not one in your org's App Manager), so the read-only PKCE checkbox and "contact Support" message are accurate: there's no admin-level override available to you. 

     

    What's going on:

     

    Salesforce has been rolling out mandatory PKCE enforcement across connected apps/ECAs as part of its 2026 OAuth security push (the ISV-facing version of this had a May 11, 2026 compliance deadline for partner-owned apps). It looks like this got applied to Salesforce's own internal Namespace Registry connected app, but the 

    Link Namespace button's OAuth kickoff flow on the Namespace Registries page itself isn't sending a code_challenge, So the connected app rejects its own login flow. That's a Salesforce side implementation bug, not a config issue in your Dev Hub.

     

    The community thread you found (posted yesterday, still 0 replies) confirms this is recent and unresolved publicly.

     

    What to actually do:

     

    1. Check the Known Issues site first  

      Search

      issues.salesforce.com for "Namespace Registry" or "Link Namespace PKCE" if Salesforce has already logged this as a known issue, you'll get a status and any workaround/ETA without opening a duplicate case.
    2. Open a Salesforce Support case  

      Since the Connected App policy is Salesforce-managed and read only, only Salesforce Support/Engineering can adjust or fix it. File under Platform/DX or ISV Partner Support if you have a Partner account reference the exact error (error=invalid_request&error_description=missing required code challenge) and that the Connected App shows PKCE as checked and read only.

    3. Flag business impact clearly in the case  

      State explicitly that this is blocking namespace linking for a managed 2GP package intended for AppExchange that framing tends to get ISV-blocking bugs prioritized faster than a generic "error message" report.

    4. Try from a different org/browser session as a sanity check  

      Not a real fix, but worth ruling out: confirm it's not a stale OAuth session or cached Connected App config in your specific Dev Hub by attempting Link Namespace from a fresh incognito session or a different System Admin user. If it fails identically, that confirms it's server side, not local state.

    5. Hold off on other 2GP/namespace work in this org until resolved  

      Don't try to work around it with manual namespace assignment or an unlocked package as a substitute namespace linking is foundational for 2GP and AppExchange listing, and a workaround here could create a mess to unwind once Salesforce fixes the underlying bug.  

        

      Bottom line: there's no client side or admin side fix here this needs a Salesforce Support case, since you can't touch the Connected App policy on a system app that's flagged read-only. If you have a Partner/ISV support tier, use that channel rather than standard support; ISV-blocking bugs like this (can't link namespace → can't ship a 2GP/AppExchange package) tend to get escalated faster there.  

        

      I hope you find the above information helpful. If it does, please mark it as Best Answer to help others too.  

       

We can't find that the ‘Manage Job Applications’ permission set grants read access and edit access to all Job Application fields, except edit access for Position and Candidate. how can i solve it 

 

   

 

#Trailhead Challenges

5 réponses
1 réponse

Hi everyone, 

 

I am working on the Trailhead module: 

 

Data Security → Control Access to Fields 

 

I created the permission set exactly as instructed: 

- Label: Manage Job Applications 

- API Name: Manage_Job_Applications 

- License: None 

- Job Application object permissions: Read and Edit 

 

However, the challenge validation still fails. 

 

I noticed that in all of my Trailhead Playgrounds: 

- There is no Candidate object (only Applicant). 

- The Job Application object contains Candidate__c and Position__c as Text fields instead of Lookup fields. 

 

Because of this, I cannot configure the permission set exactly as the challenge expects. 

 

Has anyone experienced this issue? Is this a Playground provisioning issue or has the Recruiting sample app changed? 

 

Thank you. 

 

#Trailhead Challenges  #Trailhead  #Salesforce Admin

5 réponses

Hello,

I'm working on the Trailhead project "Build a Data Model for a Recruiting App."

I completed all the previous units successfully and received green checkmarks for each one. However, in the final step "Add Job Posting Site to the Recruiting App," the instructions say to:

The problem is that there is no Recruiting app in my App Manager.

I also checked Setup → Object Manager, and the following objects do not exist:

  • Position
  • Job Posting
  • Candidate
  • Job Application
  • Interviewer

I created a new Trailhead Playground and completed the project again from the beginning, but the same issue occurred. The instructions in the earlier units never asked me to create these objects or the Recruiting app.

Could you please confirm whether:

  1. There is a missing prerequisite for this project?
  2. The project content is outdated?
  3. There is a known issue with the hands-on challenge?

Thank you. 

 

#Trailhead Challenges

2 réponses
  1. 27 juil., 16:16

    Hi, It is mentioned here to create Job Posting object manually. Rest of the ojects come from the installed package. See below. Make sure you create the org from the link in module. Install this package "04t0P000000N9rs"

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

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

     

    How to install a package via URL 

    https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_unlocked_pkg_install_pkg_ui.htmHi, It is mentioned here to create Job Posting object manually. Rest of the ojects come from the installed package. See below. Make sure you create the org from the link in module.

I have searched the community for answers and even tried using the chat bot, but nothing works. I downloaded the recruiting app, I even connected another playground with the developers edition, but reviews objects doesn't show up anywhere. Neither does the positions object. I am not sure what I am doing wrong because in general, I understand the concept and what's supposed to happen, but it can't check my work because those objects don't exist anywhere.  

 

https://trailhead.salesforce.com/content/learn/modules/data_security/data_security_objects?trailmix_creator_id=nhalynkina&trailmix_slug=salesforce-platform-basics

 

 

#Trailhead Challenges

5 réponses
3 réponses
  1. 1 juil., 13:08

    Hi, please elaborate more about the question. Do you see the job application object? Share screenshot of what is missing. 

     

    Make sure you created a palyground from the link provided in the module. If you still don't see those objects then install the package from package id: 04t0P000000N9rs. 

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

     

    How to install a package via URL

    https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_unlocked_pkg_install_pkg_ui.htm 

4 réponses

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 réponses
  1. 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