# Error Handling

If Agent Cake runs into an issue and can’t complete a provisioning task, there’s no need to worry.

Instead of breaking the flow, Cakewalk will **automatically fall back to task-based provisioning** using the policy you’ve assigned to that app.

Here’s what happens:

* The user is still marked for provisioning.
* A **task** is created and assigned to the responsible person defined in your app policy.
* That person gets clear instructions to complete the action manually.

This ensures no one is left waiting for access and you still maintain oversight and control.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.getcakewalk.io/how-to-guides/auto-provisioning/monitoring-and-logs/error-handling.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
