From 06d915e73804818d19f02b308f9d8691ba5bb815 Mon Sep 17 00:00:00 2001 From: Mikhail Kalinin Date: Thu, 28 Oct 2021 14:27:35 +0600 Subject: [PATCH] Engine API: fix unknown payload code --- src/engine/specification.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/specification.md b/src/engine/specification.md index ad6e330f4..1d7c690f3 100644 --- a/src/engine/specification.md +++ b/src/engine/specification.md @@ -162,6 +162,6 @@ This structure contains the attributes required to initiate a payload build proc 1. Given the `payloadId` client software **MUST** return the most recent version of the payload that is available in the corresponding build process at the time of receiving the call. -2. The call **MUST** return `5: Unknown payload` error if the build process identified by the `payloadId` does not exist. +2. The call **MUST** return `-32001: Unknown payload` error if the build process identified by the `payloadId` does not exist. 3. Client software **MAY** stop the corresponding build process after serving this call.