UFT - REST API test shows forbidden error 403
I have created a REST API test using UFT 12.02. While executing, I am getting forbidden error 403. I checked online and it shows issue related to authentication. I provided authentication in method properties and also tried to create an event handler with user name and password. But still i am getting error 403. Could someone tell me how to get this thing resolved?
403 is definitely access denied. Your request header is either missing or contains invalid access credentials. First step is to verify that the credentials you are using to hit the API are accurate and have the correct permissions. I'd check with the development team and ensure that the credentials have been added to whatever authentication protocol you're using. If that's all good, make sure that you're hitting the correct URL (you'd be surprised how often I've fat-fingers the address) and that you're using a valid API method call.