authorize request returns step.servicecallout.executionfailed error

I have followed the below link for make apigee setup.I am not using my own google cloud store.

After the successful installation I am trying to initiate a authorize request I am getting below error

Below is my request

client Id : I am giving AISP_Appv101 key.

scope: openid accounts

my jwt token payload:{"iss":"https://api.openbank.com","response_type":"code","client_id":"HfHmr8ECZ7ZATc2xKIzSErn2olAGHwaB","redirect_uri":"http://localhost/","scope":"openid accounts","state":"test","nonce":"abc2","claims":{"id_token":{"openbanking_intent_id":{"value":"urn:openbank:intent:accounts:111111111","essential":true},"acr":{"essential":true}}}}

http://myoorg-eval-test.apigee.net/apis/v1.0.1/oauth/authorize?client_id=HfHmr8ECZ7ZATc2xKIzSErn2olA... accounts&nonce=abc2&redirect_uri=http://localhost/&request=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJodHRwczovL2FwaS5vcGVuYmFuay5jb20iLCJyZXNwb25zZV90eXBlIjoiY29kZSIsImNsaWVudF9pZCI6IkhmSG1yOEVDWjdaQVRjMnhLSXpTRXJuMm9sQUdId2FCIiwicmVkaXJlY3RfdXJpIjoiaHR0cDovL2xvY2FsaG9zdC8iLCJzY29wZSI6Im9wZW5pZCBhY2NvdW50cyIsInN0YXRlIjoiZnNzIiwibm9uY2UiOiJhYmMyIiwiY2xhaW1zIjp7ImlkX3Rva2VuIjp7Im9wZW5iYW5raW5nX2ludGVudF9pZCI6eyJ2YWx1ZSI6InVybjpvcGVuYmFuazppbnRlbnQ6YWNjb3VudHM6MTExMTExMTExIiwiZXNzZW50aWFsIjp0cnVlfSwiYWNyIjp7ImVzc2VudGlhbCI6dHJ1ZX19fX0.rWD2f6sDydOb1EMR0IBd5vBhzyqciTaBMX3axQmXQ5wrGnNHVAhXZNS9RxT3gYN3dmbjq_1eKnftnrNZHsy9soRE8SVdRfCOJKHPDM1qEURf4AiJqh7Md6DTVHGvpAgUofaQXOgI_lwgni4mEYrMSPZHIrFqxgh-0IGwJKELznBcmPJ-CfJ3Lw4G1rO1r0cRr6L-YWM7Xxn7yysrKdeAaHS4ywU96adTbJa-rMJAetNRR-hQVE43T2Osk6bPYsoy5FCL66yUQN_C1aylZThj0nKy79NGqy2auGbhbzKOigOoKT5ehDNPLIkAnhng8jaj8-pIQY7RiEmbqtU1b-AFW8li50khRKp_SblOtG0BaqpgTFv7_C3eRtKDu1E2runl00WdN2j-M82xeNoyXpgBs5GCjBcYj1vWGgOPxbY5k71oR3VZsy4BlQO5W2ZXygVgcdt7gnyMeVA3ZmadVfkYPqdsIJquB8XmFFT0O8AfKa1qD6wwLc5AYr9KsS61B4C3ycpq2M5wEXowgisgXsb2xQtnQq0pU9iPWJ8Xoc0cIXprPHSQf_5tS5w1q433UCeFZQEKyJJIhbTMGfgbInbHSFVlXKOOS5VoaROY1PZKwZGSV7MXba6cnk4sAjMg7jEgVjJTM4pEXAN18dZ21pcX60h3BcQLzfR4JAEltAvZCWc

Below is my response

{ "fault": { "faultstring": "Execution of ServiceCallout Service-Callout-Validate-Account-Request failed. Reason: ResponseCode 400 is treated as error", "detail": { "errorcode": "steps.servicecallout.ExecutionFailed" } } }

How to resolve this error? Any help will be greatly appreciated!!!

Solved Solved
0 5 150
1 ACCEPTED SOLUTION

Check your trace session details, there might be something missing in the request you are posting through the service call out, the http 400 error clearly indicates that.

Additionally check the service callout response it could have more details on what's missing or incorrect in the request.

View solution in original post

5 REPLIES 5

Check your trace session details, there might be something missing in the request you are posting through the service call out, the http 400 error clearly indicates that.

Additionally check the service callout response it could have more details on what's missing or incorrect in the request.

thanks, can you please tell me what i am missing exactly

Pls post your trace log here

Thanks NagaShree, I have found out the issue after seeing the traceout log. After giving the accountsrequest json name : 1000 in claim json in jwt token generation login page is opening. but after entering the credentials user : user123 password : Qwerty123 i am getting Consent Transaction Undefined Error. Can you please help me on this too. Thanks for helping me to get the success response in authorize request