Skip to content

Psychometric profile not found

This issue occurs when your system expects a psychometric profile to exist,
but SotsAI cannot resolve it for the specified user.

Unlike “no profile available”, this usually indicates a data or flow mismatch.


Your system attempted to fetch or use a psychometric profile, but SotsAI returned:

  • PSY_PROFILE_NOT_FOUND, or
  • PROFILE_NOT_FOUND, or
  • a downstream failure caused by missing profile data

This means no DISC profile exists for that user in the context of your organization.


You may see:

  • /v1/disc/profile returns PSY_PROFILE_NOT_FOUND
  • /v1/advice fails because a profile is missing
  • a user was “invited” but no profile is returned
  • repeated failed retries with the same user email

The most frequent cause.

  • no DISC invitation was sent
  • the invitation step was skipped in onboarding
  • invitations were assumed to be automatic (they are not)

Remember:

DISC profiles are only created after a completed assessment.


2) The user was invited but did not complete the assessment

Section titled “2) The user was invited but did not complete the assessment”

In this case:

  • the invitation exists
  • no profile exists yet
  • fetching the profile will fail

This is expected behavior.


DISC profiles are resolved using a deterministic, one-way identifier derived from:

  • organization ID
  • email address

If the email differs, the profile will not resolve.

Common mismatches:

  • alias vs canonical email
  • casing differences
  • external vs internal address
  • changed email after invitation

Profiles are scoped to an organization.

If:

  • the same email exists in multiple organizations
  • you call the API with the wrong organization API key

The profile will not be found.


Less common, but possible.

Examples:

  • invitation link expired
  • invitation already used
  • tool mismatch (DISC vs another assessment)

Choose the correct path based on user state.

Solution

  • Send a DISC invitation
  • Wait for completion
  • Fetch profile again

Recommended when:

  • psychometrics are core to the feature
  • personalization is mandatory

Case 2: User was invited but has not completed

Section titled “Case 2: User was invited but has not completed”

Solution

  • Detect “pending” state in your system
  • Inform the user
  • Degrade gracefully in the meantime

Do not:

  • retry fetching aggressively
  • treat this as an error condition

Solution

  • Normalize email handling
  • Decide on a canonical identifier
  • Be consistent across:
    • invitations
    • fetch calls
    • caching

Solution

  • Verify the API key used
  • Confirm the organization context
  • Check environment separation (dev / staging / prod)

Attempt to fetch profile
IF profile exists:
proceed with behavioral reasoning
ELSE:
decide explicitly:
- invite user
- wait for completion
- skip SotsAI

This decision should be explicit and intentional, not implicit.


Avoid these anti-patterns:

  • ❌ retrying indefinitely
  • ❌ falling back silently without tracking
  • ❌ inventing or simulating profiles
  • ❌ assuming invitations imply completion

When a profile is “not found”, verify:

  • was an invitation sent?
  • was the assessment completed?
  • does the email match exactly?
  • is the correct organization API key used?
  • is the environment correct (dev vs prod)?

If any answer is “no”, the profile cannot exist yet.