From 0d0c6f131c6a5cfe4135fddd07427eebb8762884 Mon Sep 17 00:00:00 2001 From: "roman.strobl@wultra.com" Date: Mon, 11 Sep 2023 20:37:46 +0200 Subject: [PATCH 1/2] Fix #1046: Update documentation for error codes --- docs/Server-Error-Codes.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/Server-Error-Codes.md b/docs/Server-Error-Codes.md index f6302713a..ba9036e3d 100644 --- a/docs/Server-Error-Codes.md +++ b/docs/Server-Error-Codes.md @@ -47,5 +47,7 @@ PowerAuth Server may return following errors: | ERR0040 | Activation cannot be created with the specified properties. | | ERR0041 | Operation related error occurred. | | ERR0042 | Operation template related error occurred. | +| ERR0043 | Application or application version is duplicate. | +| ERR0044 | Token timestamp is too much in the future. | For each of these issues, more details about the specific nature and cause can be found in the server log. From 24073600e568699adbd5e7c960d004d3e45ada55 Mon Sep 17 00:00:00 2001 From: Lubos Racansky Date: Tue, 12 Sep 2023 07:16:05 +0200 Subject: [PATCH 2/2] Add i18n message for ERR0044 --- powerauth-java-server/src/main/resources/i18n/errors.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/powerauth-java-server/src/main/resources/i18n/errors.properties b/powerauth-java-server/src/main/resources/i18n/errors.properties index f28ced043..c18d0ca2a 100644 --- a/powerauth-java-server/src/main/resources/i18n/errors.properties +++ b/powerauth-java-server/src/main/resources/i18n/errors.properties @@ -60,3 +60,4 @@ ServiceError.ERR0040=Activation cannot be created with the specified properties. ServiceError.ERR0041=Operation related error occurred. ServiceError.ERR0042=Operation template related error occurred. ServiceError.ERR0043=Duplicate application or application version. +ServiceError.ERR0044=Token timestamp is too much in the future.