Skip to main content

ERR_ORIGINATOR_PROFILE_INVALID

Error Code: ERR_ORIGINATOR_PROFILE_INVALID

This error occurs when the Originator Profile is in an invalid format.

Error Message

  • "Core Profile decode failed"
  • "Profile Annotation decode failed"
  • "Web Media Profile decode failed"
  • "Subject mismatch between Core Profile and Web Media Profile"
  • "Subject mismatch between Core Profile and Profile Annotation"

Causes

  • Decoding of the Core Profile may have failed.
  • Decoding of the Profile Annotation may have failed.
  • Decoding of the Web Media Profile may have failed.
  • The Core Profile's credentialSubject.id may not match the Profile Annotation's credentialSubject.id.
  • The Core Profile's credentialSubject.id may not match the Web Media Profile's credentialSubject.id.

Examples

  • The Core Profile is placed with part of its header missing.
    <script type="application/ops+json">
[
{
"core": "yJhbGciOiJFUzI1NiIsImtpZCI6ImpKWXM1X0lMZ1VjODE4MEwtcEJQeEJwZ0EzUUM3ZVp1OXdLT2toOW1ZUFUiLCJ0eXAiOiJ2Yytqd3QiLCJjdHkiOiJ2YyJ..."
}
]
</script>
  • A Core Profile is issued with a credentialSubject.id value that does not match the Profile Annotation’s credentialSubject.id. For example, when the Core Profile's credentialSubject.id is dns:profile-annotator.example.org, the Profile Annotation's was issued with credentialSubject.id is dns:another.org.
{
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://originator-profile.org/ns/credentials/v1",
{
"@language": "en"
}
],
"type": ["VerifiableCredential", "ProfileAnnotation"],
"issuer": "dns:profile-annotator.example.org",
"credentialSubject": {
"id": "dns:another.org",
"name": "<PA Name>",
"description": "<Description of PA>",
"annotation": {
"id": "urn:uuid:14270f8f-9f1c-4f89-9fa4-8c93767a8404",
"type": "ProfileAnnotationPolicy",
"name": "<Profile Annotation Policy Name>",
"description": "<Description of Profile Annotation Policy>",
"ref": "https://annotation.example.org/about"
}
}
}

Resolution

  • Review that the Core Profile, Profile Annotation, and Web Media Profile and correct any invalid formatting. Additional details can be found in ERR_VC_DECODE_FAILED.
  • Confirm that the credentialSubject.id values in the Core Profile and Profile Annotation match. Additional details can be found in Core Profile and Profile Annotation.
  • Confirm that the credentialSubject.id values in the Core Profile and Web Media Profile match. Additional details can be found in Core Profile and Web Media Profile.