From 79adbdeb621fff61379a1c2f45f2d112d41fd8c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20=C5=A0trobl?= Date: Tue, 12 Sep 2023 10:32:13 +0200 Subject: [PATCH] Fix #1046: Update documentation for error codes (#1047) * Fix #1046: Update documentation for error codes * Add i18n message for ERR0044 --------- Co-authored-by: Lubos Racansky --- docs/Server-Error-Codes.md | 2 ++ powerauth-java-server/src/main/resources/i18n/errors.properties | 1 + 2 files changed, 3 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. 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.