Hello Steve,
Thanks for your suggestion, I checked the logs and found that the error occurred because the scope was not selected in API Security Requirement.
Now Api is working fine.
Regards,
Pawan
------------------------------
Pawan Jinaga
------------------------------
Original Message:
Sent: Mon April 10, 2023 08:41 AM
From: Steve Linn
Subject: "403" Forbidden Error in Response
Hi Pawan,
Is your client subscribed to the API you are attempting to execute? I'd suggest setting the DataPower logging to debug and follow the transaction through the logs. It could very well be you are passing the security portion of the API preflow but you are not subscribed to the API.
Regards,
Steve
------------------------------
Steve Linn
Senior Consulting I/T Specialist
IBM
Original Message:
Sent: Sat April 08, 2023 03:39 AM
From: Pawan Jinaga
Subject: "403" Forbidden Error in Response
Hello Team,
I tried to implement the OAuth and I am successfully able to get the access token from it.
But When i am executing the Sample API using the access token in Postman I am getting "403 forbidden error".I am unable to identify where i am doing wrong. Please guide me.
------------------------------
Pawan Jinaga
------------------------------