# Error 305: Action Not Allowed in This Status PayMe's message with `language: "en"`: **Cannot perform action due to an incorrect status** The sale isn't in a status that allows this call. `status_additional_info` holds its current status. ## Usual causes - `capture-sale` on a sale the buyer hasn't paid: `initial` in the sandbox. - A second `capture-sale`: `completed` in the sandbox. - Paying a sale that's already paid, or refunding one that's fully refunded. ## What to do - Don't retry. Read the sale with [List Sales](/payments/query-apis/post-get-sales), and update your own record from it. See [Capture, Refund, Void](/agents/steps/capture-refund-void). The full list of codes is on [Errors](/payments/getting-started/errors). If something else is going on, see [Troubleshooting by Symptom](/agents/errors/troubleshooting).