RESTful API error code 403

0
I’m trying to request API to an external service via GET call but I’m getting error code 403 Forbidden. What might be the reason for this?  
asked
4 answers
1

Instead Accept: application/json have you tried to set Content-Type: application/json in HTTP headers tab ? and also have you tested this service in Postman ?

answered
0

Generally a 403 error means some kind of authentication issue.

I see that you didn’t provide a username or password. Did you provide some other kind of authentication, like a valid bearer token, in your HTTP headers?

answered
0

Hi,

Can you share the HTTP headers tab screenshot.

Make sure to pass valid authentication details, Key, value pairs under HTTP headers tab

answered
0

Yes I received Bearer token on my previous step (POST) and it’s added in HTTP headers (see below)

 

answered