AmericaSCORESBayArea / AmericaSCORESBayArea/salesforce-data-api

A parent authenticated and identified via Parent Phone 2 (and alts) returns a Contact Type Null

Open
#287 2 comments 0 reactions 2 assignees Claimed by @TharunKumarReddyPolu View on GitHub
bug Critical/Blocking
Dominant language
DataWeave
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

This Bug needs investigating to determine the cause but can be observed in this video about the reg flow.

1. Parent 1 authenticates to a record they have created in the past
2. Parent 1 adds Parent 2's phone number to the record
3. Parent 2 authenticates
4. parent 2 can't get past the COACH/PARENT identifier because:
`TypeError: Cannot read properties of undefined (reading 'ContactRecordType')`

By default, a number that passes authentication should be considered a Parent.
The error (if Salesforce returns null in this field) should be logged and streamed to the error slack channel

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.