---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/60376#article
headline: "60376: Invalid rawId"
url: https://www.twilio.com/docs/api/errors/60376
inLanguage: en
dateModified: 2026-06-08T12:04:59.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 60376: Invalid rawId

Log Type: APPLICATION

Log Level: ERROR

## Description

This error occurs when your Verify Passkeys request includes a `rawId` value that Verify cannot validate for the browser-generated `PublicKeyCredential`. Use the `rawId` returned by the browser credential when you call `Passkeys/VerifyFactor` to complete Passkey registration or `Passkeys/ApproveChallenge` to approve a Passkey authentication challenge.

### Possible causes

* The `rawId` value was manually entered, reformatted, truncated, or otherwise changed instead of being passed directly from the browser-generated credential object.
* The request uses `id` and `rawId` interchangeably or sends them in the wrong fields. For Passkeys challenge approval, `id` is the base64url-encoded representation of `rawId`.
* The credential payload does not come from the correct Passkeys step. Verify uses browser credential data for `Passkeys/VerifyFactor` during registration and for `Passkeys/ApproveChallenge` during authentication.

### Possible solutions

* Read `rawId` directly from the browser credential object and send that value unchanged in your JSON request body.
* Do not swap `id` and `rawId`. Send each value in its matching field.
* Send the full credential payload required by the endpoint you are calling. For registration, use the fields documented for `Passkeys/VerifyFactor`. For authentication, use the fields documented for `Passkeys/ApproveChallenge`.
* If you pass the credential from the browser to your server, preserve the original credential fields so `rawId` reaches Verify without being altered.

#### Additional resources

* [Verify Passkeys quickstart](/docs/verify/quickstarts/passkeys)
* [Passkeys Factor resource](/docs/verify/api/passkeys-factor)
* [Passkeys Challenge resource](/docs/verify/api/passkeys-challenge)
