• michelle emanuel 59
  • NEWBIE
  • 15 Points
  • Member since 2015


  • Chatter
    Feed
  • 0
    Best Answers
  • 3
    Likes Received
  • 0
    Likes Given
  • 14
    Questions
  • 14
    Replies
For Business Administration Speicalist step 6: I am getting the error "Challenge Not yet complete... here's what's wrong:
Couldn't find Chatter group members with the correct level of access."

I viewed the solution in another post http://blog.skebro.net/business-administration-specialist-superbadge-challenges-4-5-6/
but it did not work as the interface is different. Here are the screen shots from the configuration:
User-added image
This names Ada as a Manager and Tashi as a Member. There is no role as Standard or Admin as in the link example.
Ada is also set up with the appropriate license and profile:
User-added image
Here is the Chatter group name and picture:
 
User-added image
It is a Private Group and the label is appropriate.
The Description and Information fields are appropriately filled in as well. The Poll is complete too.
 
I keep getting the following error:
Challenge Not yet complete... here's what's wrong:
Could not find 'Jane Cando' as a territory member of a service territory named 'San Francisco Area'.
However, when you look at the Territory related list you see the following:
User-added image
Jane Candor is in the correct territory.

 
How do you get the Environment Org turned on in your developer Org when you cannot get a case opened for these developer orgs? 
 
There was an unhandled exception. Please reference ID: WDCZKMBV. Error: Faraday::ClientError. Message: INVALID_FIELD: and lastname = 'franklin' and astro_location__latitude__s = 37.553837 ^ ERROR at Row:1:Column:80 No such column 'astro_location__latitude__s' on entity 'Contact'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.
I created the custom field on the contact standard object and displayed it as decimal but got this error message. My org does have namespace created as I have been using this org for sometime as I have have been collecting badges and I don't want to create a new org because then I will not lose my badge count. I did pass the first challenge to create the contacts but the field name does not seem to work.
 

Error: Failed to parse wsdl: Parse error: Found invalid XML. could not determine namespace bound to element prefix wsdl (position: START_DOCUMENT seen ... name="ParksImplService" targetNamespace="http://parks.services/">... @1:83)

From the trailhed I copy and pasted the code into an xml file verified that there were no extra characters and when I attempted to generate the code I go this error.
<wsdl:definitions name="ParksImplService" targetNamespace="http://parks.services/">
	<wsdl:types>
		<xs:schema elementFormDefault="unqualified" targetNamespace="http://parks.services/" version="1.0">
			<xs:element name="byCountry" type="tns:byCountry"/>
			<xs:element name="byCountryResponse" type="tns:byCountryResponse"/>
			<xs:complexType name="byCountry">
				<xs:sequence>
					<xs:element minOccurs="0" name="arg0" type="xs:string"/>
				</xs:sequence>
			</xs:complexType>
			<xs:complexType name="byCountryResponse">
				<xs:sequence>
					<xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="xs:string"/>
				</xs:sequence>
			</xs:complexType>
		</xs:schema>
	</wsdl:types>
	<wsdl:message name="byCountry">
		<wsdl:part element="tns:byCountry" name="parameters">
		</wsdl:part>
	</wsdl:message>
	<wsdl:message name="byCountryResponse">
		<wsdl:part element="tns:byCountryResponse" name="parameters">
		</wsdl:part>
	</wsdl:message>
	<wsdl:portType name="Parks">
		<wsdl:operation name="byCountry">
			<wsdl:input message="tns:byCountry" name="byCountry">
			</wsdl:input>
			<wsdl:output message="tns:byCountryResponse" name="byCountryResponse">
			</wsdl:output>
		</wsdl:operation>
	</wsdl:portType>
	<wsdl:binding name="ParksImplServiceSoapBinding" type="tns:Parks">
		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
		<wsdl:operation name="byCountry">
			<soap:operation soapAction="" style="document"/>
			<wsdl:input name="byCountry">
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output name="byCountryResponse">
				<soap:body use="literal"/>
			</wsdl:output>
		</wsdl:operation>
	</wsdl:binding>
	<wsdl:service name="ParksImplService">
		<wsdl:port binding="tns:ParksImplServiceSoapBinding" name="ParksImplPort">
			<soap:address location="https://th-apex-soap-service.herokuapp.com/service/parks"/>
		</wsdl:port>
	</wsdl:service>
</wsdl:definitions>

 
I downloaded the example WSDL for the calculator and had intended on going through the example before attempting the exercise but when trying to generate the apex class I got the following error:

Error: Failed to parse wsdl: Parse error: Found invalid XML. could not determine namespace bound to element prefix wsdl (position: START_DOCUMENT seen ...culatorImplService" targetNamespace="http://calculator.services/">... @1:93)
 
I encountered the following error on the Dashboard: Sharing and Notificaiton Trailhead"There was an unhandled exception. Please reference ID: NAZGVASD. Error: Faraday::ResourceNotFound. Message: NOT_FOUND: The requested resource does not exist " The issue of doing it in a new DE account is that it will not apply to my running total for badges. I did enable my namespace for the earlier Lightning modules I am assuming there is a bug surrounding this issue and no workaournd other then creating a new account.
Cannot use "Controller" in apex class name.

Trailhead requests that the apex class name be DisplayCaseController but componet cannot be saved when "Controller" is in class name. If I shorten the name to DisplayCaseCont it will save but not as DisplayCaseController. However the trailhead check required the name to be DisplayCaseController to pass.
<aura:component controller="DisplayCaseController" >
    <aura:attribute name="record" type="Case"/>
    <p>{!v.record.Subject}</p>
    <p>{!v.record.Description}</p>
    <p>{!v.record.Status}</p>
</aura:component>

 
You cannot save using an apex class with the name DisplayCaseController. If I rename the controller or apex clas then I can save it but I do not pass the trailhead but if I use the name "Controller" it will not save in the component.
 
<aura:component controller="DisplayCaseController" >
    <aura:attribute name="record" type="Case"/>
    <p>{!v.record.Subject}</p>
    <p>{!v.record.Description}</p>
    <p>{!v.record.Status}</p>
</aura:component>

 
Doing this trailhead and I am getting this error :
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Process failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, missing required field: [nextApproverIds]: [nextApproverIds]

I have tested the workflow and it works just fine as expected it just does not pass the trailhead challenge.  I reviewed some of the other posts after I got the error and mine is the same and as I said I tested approved and rejected paths and both worked. I added the customer and pending picklist values as well to Type.
 
Challenge Not yet complete... here's what's wrong:
The 'Day_of_the_Week__c' is not reporting the correct day of the week (Monday, Tuesday, etc.)

I created the field on the Contact object  per the requirements and created the formula to return a text field with the day of the for "today". I tested my formula and it works but it does not pass the check challenge. The formula I am using is:
CASE(MOD(Today()- DATE(1900,1,7), 7), 0, 'Sunday', 1, 'Monday',2,'Tuesday',3,'Wednesday',4,'Thursday',5,'Friday',6,'Friday','error')


 
I keep getting: Challenge Not yet complete... here's what's wrong:
The validation rule does not reference the 'IsClosed' and 'CloseDate' fields correctly. Take a look at the requirements again.

When I test the formula it seems to work as the requirements indicate yet it does not pass the validation from trailhead. Here is the formula: AND( NOT(IsClosed) ,  CloseDate < TODAY() )
It is placed on the CloseDate field.
Not clear what it is looking for I have a section in the code that pulls the Smith Records and I have added the Smith records.
<public class ContactAndLeadSearch {
    public static List<List<sObject>> searchContactsAndLeads(String searchName){
        
        List<List<Sobject>> contactsandleadsrecords =[find 'Smith' in all fields
                                      RETURNING contact(firstname,lastname),Lead(firstname,lastname)];
        
        List<List<sObject>> searchList = [FIND :searchName IN ALL FIELDS
                                      RETURNING Contact(FirstName,LastName),Lead(FirstName,LastName)];
        
        Contact[] smithContact1 = (Contact[])contactsandleadsrecords[0];
        Lead[] smithLead1 = (Lead[])contactsandleadsrecords[1];
        
        Contact[] searchContact = (Contact[])searchList[0];
        Lead[] searchLead = (Lead[])searchList[1];

        return searchList;
    }
}>
Challenge Not yet complete... here's what's wrong:
Executing the 'generateStringArray' method failed. Either the method does not exist, is not static, or does not return the proper number of strings.

the exercise was complete and ran and followed the instructions why were the points not awarded?
Challenge Not yet complete... here's what's wrong:
The 'Day_of_the_Week__c' is not reporting the correct day of the week (Monday, Tuesday, etc.)

I created the field on the Contact object  per the requirements and created the formula to return a text field with the day of the for "today". I tested my formula and it works but it does not pass the check challenge. The formula I am using is:
CASE(MOD(Today()- DATE(1900,1,7), 7), 0, 'Sunday', 1, 'Monday',2,'Tuesday',3,'Wednesday',4,'Thursday',5,'Friday',6,'Friday','error')


 
I keep getting: Challenge Not yet complete... here's what's wrong:
The validation rule does not reference the 'IsClosed' and 'CloseDate' fields correctly. Take a look at the requirements again.

When I test the formula it seems to work as the requirements indicate yet it does not pass the validation from trailhead. Here is the formula: AND( NOT(IsClosed) ,  CloseDate < TODAY() )
It is placed on the CloseDate field.
For Business Administration Speicalist step 6: I am getting the error "Challenge Not yet complete... here's what's wrong:
Couldn't find Chatter group members with the correct level of access."

I viewed the solution in another post http://blog.skebro.net/business-administration-specialist-superbadge-challenges-4-5-6/
but it did not work as the interface is different. Here are the screen shots from the configuration:
User-added image
This names Ada as a Manager and Tashi as a Member. There is no role as Standard or Admin as in the link example.
Ada is also set up with the appropriate license and profile:
User-added image
Here is the Chatter group name and picture:
 
User-added image
It is a Private Group and the label is appropriate.
The Description and Information fields are appropriately filled in as well. The Poll is complete too.
 
There was an unhandled exception. Please reference ID: WDCZKMBV. Error: Faraday::ClientError. Message: INVALID_FIELD: and lastname = 'franklin' and astro_location__latitude__s = 37.553837 ^ ERROR at Row:1:Column:80 No such column 'astro_location__latitude__s' on entity 'Contact'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.
I created the custom field on the contact standard object and displayed it as decimal but got this error message. My org does have namespace created as I have been using this org for sometime as I have have been collecting badges and I don't want to create a new org because then I will not lose my badge count. I did pass the first challenge to create the contacts but the field name does not seem to work.
 

Error: Failed to parse wsdl: Parse error: Found invalid XML. could not determine namespace bound to element prefix wsdl (position: START_DOCUMENT seen ... name="ParksImplService" targetNamespace="http://parks.services/">... @1:83)

From the trailhed I copy and pasted the code into an xml file verified that there were no extra characters and when I attempted to generate the code I go this error.
<wsdl:definitions name="ParksImplService" targetNamespace="http://parks.services/">
	<wsdl:types>
		<xs:schema elementFormDefault="unqualified" targetNamespace="http://parks.services/" version="1.0">
			<xs:element name="byCountry" type="tns:byCountry"/>
			<xs:element name="byCountryResponse" type="tns:byCountryResponse"/>
			<xs:complexType name="byCountry">
				<xs:sequence>
					<xs:element minOccurs="0" name="arg0" type="xs:string"/>
				</xs:sequence>
			</xs:complexType>
			<xs:complexType name="byCountryResponse">
				<xs:sequence>
					<xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="xs:string"/>
				</xs:sequence>
			</xs:complexType>
		</xs:schema>
	</wsdl:types>
	<wsdl:message name="byCountry">
		<wsdl:part element="tns:byCountry" name="parameters">
		</wsdl:part>
	</wsdl:message>
	<wsdl:message name="byCountryResponse">
		<wsdl:part element="tns:byCountryResponse" name="parameters">
		</wsdl:part>
	</wsdl:message>
	<wsdl:portType name="Parks">
		<wsdl:operation name="byCountry">
			<wsdl:input message="tns:byCountry" name="byCountry">
			</wsdl:input>
			<wsdl:output message="tns:byCountryResponse" name="byCountryResponse">
			</wsdl:output>
		</wsdl:operation>
	</wsdl:portType>
	<wsdl:binding name="ParksImplServiceSoapBinding" type="tns:Parks">
		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
		<wsdl:operation name="byCountry">
			<soap:operation soapAction="" style="document"/>
			<wsdl:input name="byCountry">
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output name="byCountryResponse">
				<soap:body use="literal"/>
			</wsdl:output>
		</wsdl:operation>
	</wsdl:binding>
	<wsdl:service name="ParksImplService">
		<wsdl:port binding="tns:ParksImplServiceSoapBinding" name="ParksImplPort">
			<soap:address location="https://th-apex-soap-service.herokuapp.com/service/parks"/>
		</wsdl:port>
	</wsdl:service>
</wsdl:definitions>

 
Hi,

I have written the below classes as part of the trailhead challenge for Apex REST callouts.

The class -

public class AnimalLocator {
  
  public static String getAnimalNameById(Integer id) {
    
    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);
    List<Object> animals; 
    String returnValue; 
    
    // parse the JSON response
    if (response.getStatusCode() == 200) {
      Map<String, Object> result = (Map<String, Object>) JSON.deserializeUntyped(response.getBody());
      animals = (List<Object>) result.get('animals');
      System.debug(animals);
    }
    
    if (animals.size() > 0 && animals != NULL && id < animals.size()) {
      returnValue = (String) animals.get(id);
    }
    
    return returnValue;
  } 
    
}

Mock Response Class - 

@isTest
global class AnimalLocatorMock implements HttpCalloutMock {
     // Implement this interface method
    global HTTPResponse respond(HTTPRequest request) {
        // Create a fake response
        HttpResponse response = new HttpResponse();
        response.setHeader('Content-Type', 'application/json');
        response.setBody('{"animals": ["majestic badger", "fluffy bunny", "scary bear", "chicken", "mighty moose"]}');
        response.setStatusCode(200);
        return response; 
    }
}

Test Class - 

@isTest
private class AnimalLocatorTest{
    @isTest static void AnimalLocatorMock1() {
        Test.setMock(HttpCalloutMock.class, new AnimalLocatorMock());
        string result = AnimalLocator.getAnimalNameById(3);
        String expectedResult = 'chicken';
        System.assertEquals(result,expectedResult );
    }
}

I have got 100% code coverage for the main class. But when I check the challenge I get 

Challenge Not yet complete... here's what's wrong: 
There was an unexpected error in your org which is preventing this assessment check from completing: System.NullPointerException: Attempt to de-reference a null object

Please tell me if any changes to the code is required. It's really frustrating as I am stuck from past 3-4 days with this unit.

Thanks & Regards,

Abhiram Sheshadri
Challenge Not yet complete... here's what's wrong:
The 'Day_of_the_Week__c' is not reporting the correct day of the week (Monday, Tuesday, etc.)

I created the field on the Contact object  per the requirements and created the formula to return a text field with the day of the for "today". I tested my formula and it works but it does not pass the check challenge. The formula I am using is:
CASE(MOD(Today()- DATE(1900,1,7), 7), 0, 'Sunday', 1, 'Monday',2,'Tuesday',3,'Wednesday',4,'Thursday',5,'Friday',6,'Friday','error')


 
I keep getting: Challenge Not yet complete... here's what's wrong:
The validation rule does not reference the 'IsClosed' and 'CloseDate' fields correctly. Take a look at the requirements again.

When I test the formula it seems to work as the requirements indicate yet it does not pass the validation from trailhead. Here is the formula: AND( NOT(IsClosed) ,  CloseDate < TODAY() )
It is placed on the CloseDate field.
Not clear what it is looking for I have a section in the code that pulls the Smith Records and I have added the Smith records.
<public class ContactAndLeadSearch {
    public static List<List<sObject>> searchContactsAndLeads(String searchName){
        
        List<List<Sobject>> contactsandleadsrecords =[find 'Smith' in all fields
                                      RETURNING contact(firstname,lastname),Lead(firstname,lastname)];
        
        List<List<sObject>> searchList = [FIND :searchName IN ALL FIELDS
                                      RETURNING Contact(FirstName,LastName),Lead(FirstName,LastName)];
        
        Contact[] smithContact1 = (Contact[])contactsandleadsrecords[0];
        Lead[] smithLead1 = (Lead[])contactsandleadsrecords[1];
        
        Contact[] searchContact = (Contact[])searchList[0];
        Lead[] searchLead = (Lead[])searchList[1];

        return searchList;
    }
}>
Challenge Not yet complete... here's what's wrong:
Executing the 'generateStringArray' method failed. Either the method does not exist, is not static, or does not return the proper number of strings.

the exercise was complete and ran and followed the instructions why were the points not awarded?
Does anyone know why I am getting this error, when the process clearly exists and is active?

Challenge not yet complete... here's what's wrong: 
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Process failed. First exception on row 0; first error: NO_APPLICABLE_PROCESS, No applicable approval process was found.
User-added image
Hi all,

User-added image

There is some kind of problem with this... Seems the filter is on:

User-added image

Thanks in advance

joseluis