quick-addition-90714
09/26/2025, 3:41 PM"messages": [
{
"id": 4010005,
"text": "Could not find a strategy to recover your account with. Did you fill out the form correctly?",
"type": "error"
}
]
chilly-king-10285
09/26/2025, 3:41 PMchilly-king-10285
09/26/2025, 3:41 PM{
"id": 4010005,
"text": "Could not find a strategy to recover your account with. Did you fill out the form correctly?",
"type": "error"
}
occurs when Ory Kratos is unable to find a suitable account recovery strategy for the request. This typically means that either the recovery method is not configured, the form was not filled out correctly, or the input does not match any enabled recovery strategies in your configuration. In other words, the system cannot proceed with account recovery because it doesn't know how to handle the request based on the current setup or user input [Could not find a strategy to recover your account with. Did you fill out the form correctly? (4010005)](https://www.ory.sh/docs/kratos/concepts/ui-user-interface#could-not-find-a-strategy-to-recover-your-account-with-did-you-fill-out-the-form-correctly-4010005).quick-addition-90714
09/26/2025, 3:43 PMquick-addition-90714
09/26/2025, 3:44 PMchilly-king-10285
09/26/2025, 3:44 PMchilly-king-10285
09/26/2025, 3:44 PMmethod
with the value set to the recovery strategy you are using (typically "code"
for the recommended one-time code method). Without this field, Kratos cannot determine which recovery strategy to use, resulting in the error: > "Could not find a strategy to recover your account with. Did you fill out the form correctly?" (4010005) To fix this, add a hidden input to your form: html <input type="hidden" name="method" value="code">
Your form should look like this (simplified): html <form method="POST" action="http://localhost:4433/self-service/recovery?flow=99269a73-8eb5-4bd6-9951-efdd125efecf"> <input type="hidden" name="csrf_token" value="EKA21vzo/x5arAaonxFWsbkKytkL/veumVnPO18m36p+ZG7bq28dHmCy8zUyEvE8uOFZqTljTwLEeKW9GlubCQ=="> <input type="hidden" name="method" value="code"> <input type="email" name="email" placeholder="Email" required> <button type="submit">Continue</button> </form>
This matches the expected payload for the recovery flow as shown in the documentation [Submit recovery flow](https://www.ory.sh/docs/kratos/bring-your-own-ui/custom-ui-basic-integration#submit-recovery-flow).