Skip to main content The new Salesforce certifications experience is live! Visit Trailhead Academy to explore your new certifications homepage.

Feed

Connect with fellow Trailblazers. Ask and answer questions to build your skills and network.

Hi - I am working through this project "Creating an Agent using Agentforce DX" - I have updated the CLI to be on latest version and when I run the command in the second part of the project: 

 

sf agent create --spec specs/agentSpec.yaml --name "Resort Manager" 

 

I get the following error in VSCode.  I have seen a similar issue in other dev playgrounds but I did not see a report against this particular project.  Thanks for any advice. 

 

 

Failed to create agent error - Creating an Agent using Agentforce DX Project

 

 

 

#Trailhead Challenges

1 answer
  1. Today, 4:21 AM

    I am experiencing the same issue! 

     

    Failed to create agent: Error generating agent definition. com.google.gson.stream.MalformedJsonException: Unterminated object at line 47 column 57 path $.topics[2].actions[1].description

0/9000
0/9000

Hello everyone,  

Im working on the AnimalLocator challenge of APEX REST Callouts and I have an issue when I check the challenge: 

Executing the 'getAnimalNameById' method on 'AnimalLocator' failed. Make sure the method exists with the name 'getAnimalNameById', is public and static, accepts an Integer, and returns a String.

 

And in Developer Console appears "Assertion Failed: Expected: "(the animal name I chose), Actual: "trailhead".

I've been looking at logs and the animal's name appears when debbuging correctly, but when I check the challenge my Console executes on Anonymous. I've tried changing the Org, and with a Developer Edition Org, but appears again. I've checked Remote Sites, and apex classes but nothing works...

 

5 answers
  1. Today, 3:39 AM

    i am also facing the same issue did you get any solution? please let me know 

     

0/9000

@Divya Ranjit

 

Please help us Upgrade without issues/errors. We are not at all using this package and did not even assigned any permissions or permission Sets to any users at all. I tried uninstalling which is again a failure that is the reason I tried updating to current version and still have issues.

 

I am upgrading the same in sandbox as we are working on API version upgrades as salesforce is retiring API version below 30.  

 

Package: Salesforce Agile Accelerator (04tKg000000gNaN)

 

Problem:

 

1.  This app can't be upgraded.

Salesforce has blocked this package upgrade because the new package version removes some Apex code that one or more Visualforce pages or global Visualforce components need in order to function. Please contact your partner with this error information. Provide these component names to your partner. Visualforce Pages: QA_TestCaseLibrary, QA_TPUserStoryList, QA_GenerateAnnotations, QA_AddTestCases, QA_AddTEToUS, QA_TPTELibrary, QA_AddTCtoUS, QA_TPQuestionDetails, QA_TPDetails, QA_TEDetailUSSection, QA_TEDetailTCSection, QA_TEBugsDetail, QA_TCBugsDetail, QA_SprintDetail_TEReport, QA_MassEditTC, qa_tpadddefaultstep2, qa_tpadddefaultstep1, QA_addUStoTP, QA_USTELibrary, QA_USDetail_TEReport. 

0/9000

I'm having trouble with the playground / dev org / sandbox situation. 

 

I currently have two accounts connected to my trailhead- one is a playground and the other is a free dev org. 

 

Currently my profile says i'm logged into the first- which is a playground with a weird login that's my email + some weird animal name.   The dev org is linked but i'm not logged in. 

 

I'm confused because I thought the playgrounds were kind of mini sandboxes within a dev org...  

And I thought a sandbox was just a playground but one with your dev org's data. 

 

Someone please explain all this to me.  Because when I download things for challenges I'm trying to make sure they're downloaded into my playgrounds for now and not into my free dev org account.  It's kind of confusing because trailhead and my dev org are linked BUT they're apparently two different accounts? 

 

#Trailhead

3 answers
  1. Ajaypreet Singh Saini (Grantbook) Forum Ambassador
    Today, 12:18 AM

    @Liv Swarz Just want to inform that sandboxes are only available with Production orgs. 

    You can't use sandboxes with free developer orgs. 

     

    Don't get confused with the term sandbox in salesforce.

0/9000

Unbale to find Value Proposition in the  available list in the opportunity tab   and if try to open a new opportunity its showing B2B opportunities 

  

not able to find a list value

 

#Trailhead Challenges

1 answer
  1. Ajaypreet Singh Saini (Grantbook) Forum Ambassador
    Jul 26, 11:35 PM

    Hey @Mohammed Pasha, follow these steps: 

     Go to Setup > sales processes > Click in B2B Sales process (not edit, just click in the name) and you will see the selected values for the picklist 

     

    Also, make sure that the value 'value proposition' is available for the current opportunity record type

0/9000

We have recently added some Lightning Page Assignments based on Record Type and Profile. However, when we created these, it seems as Salesforce exploded and we ended up with several thousand assignments (see first image below).Removing Lightning Page Assigments when limit exceededBecause of this we have reached a system limit and need to go through Medata API (see image below) Salesforce Assignment Error.pngWe have tried removing some lines of metadata, but the overall number is not changing. We have even tried copying / pasting the information we had from a clean sandbox, but the issue persists.

 

Does anyone have any idea on how we can delete these page assignments so that we can start from scratch again and unlock the limit?

6 answers
  1. Jul 26, 11:16 PM

    Recently I encountered with same issue to delete 2000+ assignments and found the below quick solution  

     

    1. Navigate to LPR remove assignment screen (Activation -> "App, Record Type, and Profile" tab -> Remove Assignments). 

    2. Open browser console and run the below script to select all assignments 

     

    var chks = document.getElementsByName('assignmentTableCheckbox'); 

    for(var i=0;i<chks.length;i++) {  

    chks[i].click(); 

     

    3. Click next and Save. 

     

     

     

    Recently I encountered with same issue to delete 2000+ assignments and found the below quick solution 1.

     

     

0/9000