---
title: Models, attributes, and error codes
description: When using the PingOne Credentials IdP Adapter through the PingFederate authentication API, the adapter uses the following state models, action models, objects, and error codes.
component: pingone-credentials
page_id: pingone-credentials:setup:pf_p1_credentials_ik__models_objects_and_error_codes
canonical_url: https://docs.pingidentity.com/integrations/pingone-credentials/setup/pf_p1_credentials_ik__models_objects_and_error_codes.html
revdate: September 3, 2024
section_ids:
  state-models: State models
  action-models: Action models
---

# Models, attributes, and error codes

When using the PingOne Credentials IdP Adapter through the PingFederate authentication API, the adapter uses the following state models, action models, objects, and error codes.

## State models

| Status                              | Response Model                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | Action                               | Description                                                    |
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ | -------------------------------------------------------------- |
| `CREDENTIAL_VERIFICATION_REQUIRED`  | * `sessionID (string)`: The ID that can be used to check the status of the credential verification request.

* `sessionStatus (SessionStatus)`: The status of the credential verification request.

* `qUrl (string)`: The URL that can be used to get the QR code. Used in the different device SSO flow to open the wallet app.

* `appOpenUrl (string)`: The URL that can be used to open the wallet app.

* `redirect (boolean)`: Used in the same device SSO flow to open the wallet app after the user clicks **Open Wallet**. Uses the `appOpenUrl`.

* `errorDetails (List<CustomAuthnErrorDetail>)`: A list of the errors that caused the credential verification request to fail. | - `poll`

- `cancel`

- `sameDevice` | Indicates that credential verification is required.            |
| `CREDENTIAL_VERIFICATION_COMPLETED` | No model                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | * `continue`                         | Indicates that credential verification completed successfully. |
| `CREDENTIAL_VERIFICATION_FAILED`    | - `sessionID (string)`: The ID that can be used to check the status of the credential verification request.

- `sessionStatus (SessionStatus)`: The status of the credential verification request.

- `errorDetails (List<CustomAuthnErrorDetail>)`: A list of the errors that caused the credential verification request to fail.                                                                                                                                                                                                                                                                                                                                                          | * `cancel`                           | Indicates that credential verification failed.                 |
| `CREDENTIAL_VERIFICATION_TIMED_OUT` | No model                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | - `retryVerification`

- `cancel`    | Indicates that credential verification timed out.              |

## Action models

| Action              | Request Model | Errors | Description                                                                                                                                                                   |
| ------------------- | ------------- | ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `cancel`            | No model      | None   | Cancels the verification flow.                                                                                                                                                |
| `continue`          | No model      | None   | Continues the verification flow.                                                                                                                                              |
| `poll`              | No model      | None   | Gets the current presentation session status.                                                                                                                                 |
| `retryVerification` | No model      | None   | Retries verification after time out or failure.                                                                                                                               |
| `sameDevice`        | No model      | None   | Indicates that the user prefers to complete verification on the same device. Learn more in [Overview of the SSO flow](../pf_p1_credentials_ik_overview_of_the_sso_flow.html). |
