Student families need to easily access their records and waivers at least once per year. This service needs to be paper-free, secure, and reliable... and a future standard for school districts and youth-focused nonprofits/volunteer organizations. Interfaces with Mulesoft API's and Salesforce.
Enter new student record and see below what was entered
Submit
Result: (Oops! Something went wrong! [1] Error: Request failed with status code 500)
Expectation: If the user entered something unacceptable the system should instruct the user how to correct it or what to do. In a case of a duplicate record being blocked, the system should invite the returning user to authenticate and update the existing student record.
-Error found in salesforce response
Error Details February 28,2022
12:36:22.000 02/28/2022 Worker-0 [MuleRuntime].uber.83: [salesforce-data-api-prod].post:\contacts:application\json:salesforce-data-api-config.BLOCKING @158874f3 DEBUG
event:162d65e0-98d6-11ec-a9a2-02328102feea Receiving response from Salesforce. Arguments: {endpoint=https://americascoresbayarea.my.salesforce.com/services/Soap/u/48.0/00D50000000NVw6, response=<?xml version="1.0" encoding="UTF-8"?>1964120000API REQUESTS</soapenv:Header>Use one of these records? (Student Dupe)DUPLICATES_DETECTEDtrueStudent_Contact_Duplicate_RuleContactUse one of these records? (Student Dupe)ContactFuzzyMatchEngineSAMEContact_TypecDIFFERENTLastNameDIFFERENTFirstName99.0Contact</sf:type>0031T00004NGuVDQA1</sf:Id>Tes3Feb28 Hayward3</sf:Name>SCORES Student</sf:Contact_Typec>0051T000009eHfvQAE</sf:OwnerId>2022-02-28T20:15:31.000Z</sf:LastModifiedDate>0031T00004NGuVDQA1</sf:Id>Student_Full_Name_matching1truefalse</soapenv:Body></soapenv:Envelope>}.
Salesforce error when submitting a new student registration
-Reproduction steps
-Error found in salesforce response
Error Details February 28,2022 12:36:22.000 02/28/2022 Worker-0 [MuleRuntime].uber.83: [salesforce-data-api-prod].post:\contacts:application\json:salesforce-data-api-config.BLOCKING @158874f3 DEBUG event:162d65e0-98d6-11ec-a9a2-02328102feea Receiving response from Salesforce. Arguments: {endpoint=https://americascoresbayarea.my.salesforce.com/services/Soap/u/48.0/00D50000000NVw6, response=<?xml version="1.0" encoding="UTF-8"?>1964 120000 API REQUESTS </soapenv:Header>Use one of these records? (Student Dupe) DUPLICATES_DETECTED true Student_Contact_Duplicate_Rule Contact Use one of these records? (Student Dupe) Contact FuzzyMatchEngine SAME Contact_Typec DIFFERENT LastName DIFFERENT FirstName 99.0 Contact</sf:type>0031T00004NGuVDQA1</sf:Id>Tes3Feb28 Hayward3</sf:Name>SCORES Student</sf:Contact_Typec>0051T000009eHfvQAE</sf:OwnerId>2022-02-28T20:15:31.000Z</sf:LastModifiedDate>0031T00004NGuVDQA1</sf:Id> Student_Full_Name_matching 1 true false </soapenv:Body></soapenv:Envelope>}.
xmlns:sobj="urn:sobject.partner.soap.sforce.com">Contact</sobj:type>Hayward4</sobj:LastName>Tes4Feb28</sobj:FirstName></sobj:MiddleName>01250000000VBbXAAW</sobj:RecordTypeId></sobj:MailingStreet></sobj:MailingCity></sobj:MailingState>0</sobj:MailingPostalCode>US</sobj:MailingCountry></sobj:HomePhone></sobj:Email>2015-02-28T00:00:00.000Z</sobj:Birthdate>Female</sobj:Genderc><sobj:Allergiesc xsi:type="xsd:string"></sobj:Allergiesc><sobj:Emergency_Contact_Name_Phone_01c xsi:type="xsd:string">5168483324</sobj:Emergency_Contact_Name_Phone_01c><sobj:Emergency_Contact_Namec xsi:type="xsd:string">Feb28 Test4</sobj:Emergency_Contact_Namec><sobj:Emergency_Contact_Relationship_to_Childc xsi:type="xsd:string">Legal Guardian</sobj:Emergency_Contact_Relationship_to_Childc><sobj:Ethnicityc xsi:type="xsd:string">Native American</sobj:Ethnicityc><sobj:Gradec xsi:type="xsd:string">2nd</sobj:Gradec>Fairview Elementary School</sobj:School_Attending c>test4Feb@yahoo.fr</sobj:Parent_Email_Addressc><sobj:Parent_First_Namec xsi:type="xsd:string">Feb28Test</sobj:Parent_First_Namec><sobj:Parent_Home_Languagec xsi:type="xsd:string">Hmong</sobj:Parent_Home_Languagec><sobj:Parent_Last_Namec xsi:type="xsd:string">Test4</sobj:Parent_Last_Namec><sobj:Parent_Other_Languagec xsi:type="xsd:string"></sobj:Parent_Other_Languagec><sobj:Parent_Phone_01c xsi:type="xsd:string">4627239683</sobj:Parent_Phone_01c><sobj:Parent_Phone_02c xsi:type="xsd:string"></sobj:Parent_Phone_02c><sobj:Parent_Phone_03c xsi:type="xsd:string"></sobj:Parent_Phone_03c>Grandparent</sobj:Parent_Relationship_to_Child c>Yes</sobj:Reduced_Price_Lunchc><sobj:Second_Emerg_Contact_Relationship_Childc xsi:type="xsd:string"></sobj:Second_Emerg_Contact_Relationship_Childc></sobj:Second_Emergency_Contact_Name c></sobj:Second_Emergency_Phone_01c></sobj:Second_Emergency_Phone_02 c>No</sobj:Volunteer_for_this_Program_Parentc>SCORES Student</sobj:Contact_Type C>0011T00002O0xWLQAZ</sobj:AccountId></m:sObjects></m:create></env:Body></env:Envelope>, endpoint=https://americascoresbayarea.my.salesforce.com/services/Soap/u/48.0/00D50000000NVw6}.