From 04171ac8f22dcfd446ce8545f65aa0795d9db91b Mon Sep 17 00:00:00 2001 From: simonredfern Date: Fri, 17 Jan 2025 16:56:15 +0100 Subject: [PATCH] docfix/clarifying consent not before error --- obp-api/src/main/scala/code/api/util/ErrorMessages.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obp-api/src/main/scala/code/api/util/ErrorMessages.scala b/obp-api/src/main/scala/code/api/util/ErrorMessages.scala index 014ed1f7d..1b461e619 100644 --- a/obp-api/src/main/scala/code/api/util/ErrorMessages.scala +++ b/obp-api/src/main/scala/code/api/util/ErrorMessages.scala @@ -560,7 +560,7 @@ object ErrorMessages { // Consents val ConsentNotFound = "OBP-35001: Consent not found by CONSENT_ID. " - val ConsentNotBeforeIssue = "OBP-35002: The time Consent-ID token was issued is set in the future. " + val ConsentNotBeforeIssue = "OBP-35002: The Consent Not Before time (nbf) is in the future. Not Before (nbf) should be in the past. Please make sure the Consent nbf is before the current date time of the OBP API server. " val ConsentExpiredIssue = "OBP-35003: Consent-Id is expired. " val ConsentVerificationIssue = "OBP-35004: Consent-Id JWT value couldn't be verified. " val ConsentStatusIssue = "OBP-35005: Consent-Id is not in status "