From 632932bdcb329ca70aa9a4035bb8c1bb53487efc Mon Sep 17 00:00:00 2001 From: Mohanachandran S <165888272+mohanachandran-s@users.noreply.github.com> Date: Fri, 3 Jan 2025 17:24:39 +0530 Subject: [PATCH] ES-2132 - Added the correct error for claim with empty array (#1083) * Updated the empty claim value as null Signed-off-by: Mohanachandran S * Updated the error code Signed-off-by: Mohanachandran S * ES-2132 - updated the empty claim value as null instead of empty array Signed-off-by: Mohanachandran S * ES-2132 - Added the correct error for claim with empty array Signed-off-by: Mohanachandran S --------- Signed-off-by: Mohanachandran S --- .../OAuthDetailsRequestLinkedConsent.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-test/src/main/resources/esignet/LinkedConsent/OAuthDetailsRequestLinkedConsent/OAuthDetailsRequestLinkedConsent.yml b/api-test/src/main/resources/esignet/LinkedConsent/OAuthDetailsRequestLinkedConsent/OAuthDetailsRequestLinkedConsent.yml index 85a42d234..e3356325d 100644 --- a/api-test/src/main/resources/esignet/LinkedConsent/OAuthDetailsRequestLinkedConsent/OAuthDetailsRequestLinkedConsent.yml +++ b/api-test/src/main/resources/esignet/LinkedConsent/OAuthDetailsRequestLinkedConsent/OAuthDetailsRequestLinkedConsent.yml @@ -97,7 +97,7 @@ OAuthDetailsRequestLinkedConsent: output: '{ "errors": [ { - "errorCode": "unknown_error", + "errorCode": "invalid_claim", "errorMessage": "$IGNORE$" } ]