Skip to main content

Common Error Codes (shared by all endpoints)


1. CreateWebAppApiComfyTask

POST /webapp/task/openapi/create

2. ComfyTaskDetail

GET /webapp/task/openapi/:request_id

3. ComfyTaskOutputs

GET /webapp/task/openapi/:request_id/outputs

4. CancelComfyTaskApi

PUT /webapp/task/openapi/:request_id/cancel

5. InterruptComfyTaskApi

PUT /webapp/task/openapi/:request_id/interrupt

6. GetToken (Upload)

GET /upload/token

7. Get (UserWallet)

GET /wallet

8. UserInfo

GET /user/info
The UserInfo endpoint has simple logic and mainly reads the authenticated user’s information from context. Beyond common authentication errors, it rarely returns additional business errors.

9. CreateApiModelZooTask

POST /modelzoo/tasks/openapi/*endpoint

10. ModelZooTaskStatus

GET /modelzoo/tasks/:request_id

11. ApiModelZooTaskStatus

GET /modelzoo/tasks/openapi/:request_id

Appendix: Error Code Range Reference