You need to sign in to do that
Don't have an account?

Advanced Billing SB - Challenge 1
I tried leaving the default value empty as well. No dice.

Executing the 'getAnimalNameById' method on 'AnimalLocator' failed.
Here are my codes:
.AnimalLocator-
public class AnimalLocator { public static String getAnimalNameById(Integer id) { String animalName; Http http = new Http(); HttpRequest request = new HttpRequest(); request.setEndpoint('https://th-apex-http-callout.herokuapp.com/animals/' + id); request.setMethod('GET'); HttpResponse response = http.send(request); if(response.getStatusCode()==200){ Map<String, Object> r = (Map<String, Object>) JSON.deserializeUntyped(response.getBody()); Map<String, Object> animal = (Map<String, Object>)r.get('animal'); animalName = string.valueOf(animal.get('name')); } return animalName; } }AnimalLocatorMock
@IsTest global class AnimalLocatorMock implements HttpCalloutMock { global HTTPresponse respond(HTTPrequest request) { Httpresponse response = new Httpresponse(); response.setStatusCode(200); response.setBody('{"animal":{"id":1,"name":"chicken","eats":"chicken food","says":"cluck cluck"}}'); return response; } }AnimalLocatorTest-
@IsTest public class AnimalLocatorTest { @isTest public static void testAnimalLocator() { Test.setMock(HttpCalloutMock.class, new AnimalLocatorMock()); String s = AnimalLocator.getAnimalNameById(1); system.debug('string returned: ' + s); } }

Tableau CRM Apps Basic Module : Error in Refreshing "Trailhead Data Manager" after creating an App
While working on the "Trailhead data Manager" and refreshing the data it is throwing this error.
"An error occurred in your last data refresh.
Delete failed. First exception on row 0 with id 0015g0000063XmuAAE; first error: DELETE_FAILED, Your attempt to delete Sample Account for Entitlements could not be completed because it is associated with the following entitlements.: Sample Entitlement ... "
Can anyone help me with this?..




For all the Trailhead issues or Guidance please report it here,
https://trailhead.salesforce.com/en/help?support=home
https://trailhead.salesforce.com/help
So that our trailhead support engineers will look into it and get back to you.
Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Regards,
Salesforce Support.

Tableau CRM Data Preparation Specialist - Challenge #3
I read all the comments on this post https://developer.salesforce.com/forums/?id=9060G0000005d3yQAA#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=9060G0000005d3yQAA
and I'm still stuck on the challenge 3 "We can't validate the 'Create Seed Bank Agencies' node was created correctly."
I created this new question, because I cannot add a new comment on the last post.
I tried at least 5 differents JSON, so I'm pretty sure the problem is not on that side, but I've put the json at the end of this comment just in case.
The problem is maybe here, when I compared ROWS IN and ROWS OUT, I don't have the same total of you.
- So first, I think it was because I did the bulk data load jobs too many time at the beginning with the Agency Data.txt file.
- So I came back and I did a mass delete records for all the Contact and Account. I filtered with my Created By Alias and after that with the Created Date of the day.
- I'm still not able to remove some Account who are probably link to other Salesforce object when I did other badges. Ok for me at first glance, but ...
And don't wander,
- I removed the lens each time a rerun the dataflow, just to be sure.
- Each time a did a bulk data load jobs or a mass delete record I rerun the SFDC_LOCAL to be sure the Account of SalesForce are refreshed into Analystics Studio.
- My dataset Seed Bank Agencies and Agency Detail are located in the Mozaic App. So my lens Top 5 Agencies.
{
"Filter Agency Records": {
"action": "filter",
"parameters": {
"filter": "IsAgency:EQ:TRUE",
"source": "ID Agency Records"
}
},
"Load Account": {
"action": "sfdcDigest",
"parameters": {
"fields": [
{
"name": "AccountNumber"
},
{
"name": "Name"
},
{
"name": "Phone"
},
{
"name": "ShippingCity"
},
{
"name": "ShippingCountry"
},
{
"name": "ShippingPostalCode"
},
{
"name": "ShippingState"
},
{
"name": "ShippingStreet"
}
],
"object": "Account"
}
},
"Create Seed Bank Agencies": {
"action": "sfdcRegister",
"parameters": {
"name": "Seed Bank Agencies",
"alias": "seed_bank_agencies",
"source": "Filter Agency Records"
}
},
"Add Agency Fields": {
"action": "augment",
"parameters": {
"right_key": [
"AccountNumber"
],
"left": "Load Account",
"left_key": [
"AccountNumber"
],
"right_select": [
"Acres",
"Currency",
"Latitude",
"Longitude",
"Region",
"SubRegion"
],
"right": "Load Agency Detail",
"relationship": "AgencyDetail",
"operation": "LookupSingleValue"
}
},
"Load Agency Detail": {
"action": "edgemart",
"parameters": {
"alias": "agency_detail"
}
},
"ID Agency Records": {
"action": "computeExpression",
"parameters": {
"source": "Add Agency Fields",
"mergeWithSource": true,
"computedFields": [
{
"name": "IsAgency",
"saqlExpression": "case when Phone is not null then \"TRUE\" else \"FALSE\" end",
"label": "IsAgency",
"type": "Text"
}
]
}
}
}
Thanks



Please note that Questions about how to pass Trailhead challenges are not on topic, because these challenges are intended to be independent demonstrations of your abilities.
Trailhead Help (https://trailhead.salesforce.com/en/help?support=home)can provide assistance for situations where Trailhead does not appear to be functioning correctly. You can reach out to them if this is the case.
Please close the thread by selecting as best answer so that we can keep our community clean.
Regards,
Salesforce Support

Trying to verify a step [Create Chatter Groups] - reference error id: NHHZARKC
--------------
Step not yet complete in Creative Koala Playground
There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: NHHZARKC

DELETE_FAILED, Your attempt to delete Sample Account for Entitlements could not be completed because it is associated with the following entitlements

Einstein Analytics Data Preparation Superbadge Step 3
Hi team,
I can't fix an issue with my dataflow "Load Seed Bank Agencies" and was hoping to get some guidance / help to solve it. I have checked several times the dataflow and cannot figure out what's wrong. The data flow works but doesn’t get the grade to move forward.
Please see the JSON file below:
{
"Filter Agency Records": {
"action": "filter",
"parameters": {
"filter": "IsAgency:EQ:TRUE",
"source": "ID Agency Records"
}
},
"Load Account": {
"action": "sfdcDigest",
"parameters": {
"fields": [
{
"name": "AccountNumber"
},
{
"name": "Name"
},
{
"name": "Phone"
},
{
"name": "ShippingCity"
},
{
"name": "ShippingCountry"
},
{
"name": "ShippingState"
},
{
"name": "ShippingStreet"
},
{
"name": "ShippingPostalCode"
}
],
"object": "Account"
}
},
"Create Seed Bank Agencies": {
"action": "sfdcRegister",
"parameters": {
"rowLevelSecurityFilter": "",
"name": "Create Seed Bank Agencies",
"alias": "seed_bank_agencies",
"source": "Filter Agency Records"
}
},
"Add Agency Fields": {
"action": "augment",
"parameters": {
"right_key": [
"AccountNumber"
],
"left": "Load Account",
"left_key": [
"AccountNumber"
],
"right_select": [
"Acres",
"Currency",
"Latitude",
"Longitude",
"Region",
"SubRegion"
],
"right": "Load Agency Detail",
"relationship": "AgencyDetail",
"operation": "LookupSingleValue"
}
},
"Load Agency Detail": {
"action": "edgemart",
"parameters": {
"alias": "Agency_Detail"
}
},
"ID Agency Records": {
"action": "computeExpression",
"parameters": {
"source": "Add Agency Fields",
"mergeWithSource": true,
"computedFields": [
{
"name": "IsAgency",
"saqlExpression": "case when Phone is not null then \"TRUE\" else \"FALSE\" end",
"label": "IsAgency",
"type": "Text"
}
]
}
}
}
Any help would be really helpful!
Many thanks,
Franck

authorize devhub stuck
I have a problem where when I want to do the "SFDX: Authorize a dev hub " it takes me to salesforce logging and I input the email and password correctly and it logs in but it gets stuck as a white page waiting for the page that asks me to allow " it stays forever loading
please help
ps: my account is just a playground i launched on trailhead
thank you
Lost trailhead badges while merging accounts
While merging my personal Trailhead account with the salesforce trailhead account i lost my badges. I had somewhat 295 ~297 badges, but after merger i lot it and now it shows only 205. Can I get help on this please. Please let me know if more details are required to be shared.