Endpoint
Overview
Retry one or more failed tasks by resetting their status toscheduled and setting their scheduled time to now. This allows you to re-attempt tasks that previously failed (warmup activities, profile edits, etc.).
Request Body
Array of task IDs to retryAll tasks must belong to your organization and must have status
failedResponse
Retry result information
Error Cases
- 400 Bad Request: Attempting to retry tasks that are not in failed status
- 404 Not Found: Some tasks don’t exist or don’t belong to your organization
- 400 Bad Request: No task IDs provided
What Happens When You Retry
When you retry a failed task, the system:- Updates the status from
failedtoscheduled - Sets the scheduled time to the current time (now)
- Resets the retry count to 0
- Clears the old task ID to allow re-execution
- Queues the task for immediate processing
Best Practices
1
Fetch tasks
Use the Get Tasks endpoint to retrieve tasks and check their status
2
Filter failed tasks
Filter out tasks with status
failed from your task list3
Retry tasks
Call the retry endpoint with the filtered task IDs
4
Monitor status
Use the Get Tasks endpoint to track the retry attempt
Example: Automatic Retry Workflow
Common Task Failure Reasons
Tasks typically fail for reasons such as:- Temporary network issues - Retry usually succeeds
- Account authentication expired - May need account re-authorization
- Platform rate limits - Retry after waiting period
- Invalid parameters - Check task configuration
- Account not ready - Ensure account is properly initialized
If a task continues to fail after multiple retries, check the task details to identify the underlying issue. Some failures may require manual intervention or account re-configuration.
