> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Errors

## Article: Errors

## Article Link: https://dev.wix.com/docs/api-reference/business-management/online-programs/resolved-steps/errors.md

## Article Content:

# Resolved Steps API: Errors

This article outlines error messages that might be issued when calling methods of the Resolved Steps API.

## Upsert Resolved Step errors

The [Upsert Resolved Step](https://dev.wix.com/docs/api-reference/business-management/online-programs/resolved-steps/upsert-resolved-step.md) method might issue the following error messages:

| HTTP status | Error code | Error message | Troubleshooting |
| --- | --- | --- | --- |
| `NOT_FOUND (404)` | `PARTICIPANT_NOT_FOUND` | `PARTICIPANT_NOT_FOUND` | Verify `participantId` and make sure the participant still exists. |
| `NOT_FOUND (404)` | `STEP_NOT_FOUND` | `STEP_NOT_FOUND` | Verify `programStepId` and make sure the step belongs to the same program as the participant. |
| `NOT_FOUND (404)` | `QUIZ_SUBMISSION_NOT_FOUND` | Quiz submission is not found. | Verify `quizSubmissionId` and make sure the quiz submission still exists. |
| `INVALID_ARGUMENT (400)` | `QUIZ_SUBMISSION_STEP_MISMATCH` | Quiz submission does not belong to the program step quiz. | Specify a submission for the quiz associated with the program step. |
| `INVALID_ARGUMENT (400)` | `QUIZ_SUBMISSION_ID_REQUIRED` | Quiz submission ID is required for quiz program steps. | Specify `quizSubmissionId` when upserting a quiz step, including when updating an existing resolved step. Omit it for non-quiz steps. |
| `FAILED_PRECONDITION (428)` | `PARTICIPANT_NOT_JOINED` | Participant is not joined to the program. | Make sure the participant's `enrollmentStatus` is `JOINED`. |

## Delete Resolved Step errors

The [Delete Resolved Step](https://dev.wix.com/docs/api-reference/business-management/online-programs/resolved-steps/delete-resolved-step.md) method might issue the following error messages:

| HTTP status | Error code | Error message | Troubleshooting |
| --- | --- | --- | --- |
| `NOT_FOUND (404)` | `RESOLVED_STEP_NOT_FOUND` | Resolved step is not found. | Verify `resolvedStepId`. You can use [Query Resolved Steps](https://dev.wix.com/docs/api-reference/business-management/online-programs/resolved-steps/query-resolved-steps.md) to retrieve resolved-step IDs. |
| `NOT_FOUND (404)` | `PARTICIPANT_NOT_FOUND` | `PARTICIPANT_NOT_FOUND` | The participant referenced by the resolved step no longer exists. If the participant was recently removed, allow time for automatic resolved-step cleanup. |
| `FAILED_PRECONDITION (428)` | `PARTICIPANT_NOT_JOINED` | Participant is not joined to the program. | Manually delete resolved steps only while the participant's `enrollmentStatus` is `JOINED`. Resolved steps are deleted automatically when participants leave or are removed from programs. |