POST /queue not working #10720
-
|
I am currently wrapping the C# version of the ComfyUI API. All other APIs are functioning normally, but the POST /queue request is not working. Tasks marked as "Running/Pending/Completed" in the front-end queue remain in the queue, as if nothing has happened. https://docs.comfy.org/development/comfyui-server/comms_routes#core-api-routes
I'm certain it's not an issue with the C# code itself, as I get the same results using tools like Bruno or Postman. public async Task<HttpStatusCode> DeleteQueueAsync(IEnumerable<string> promptIds, CancellationToken cancellationToken = default)
{
var payload = new {
delete = promptIds.ToArray()
};
var response = await _httpClient.PostAsJsonAsync("queue", payload, _jsonSerializerOptions, cancellationToken);
return response.StatusCode;
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I found that The document needs updating; much of the content is inaccurate. |
Beta Was this translation helpful? Give feedback.
I found that
POST /queueonly affects tasks in the "Pending/Completed" state, whilePOST /interruptonly affects tasks in the "Running" state.The document needs updating; much of the content is inaccurate.