cancel
Showing results for 
Search instead for 
Did you mean: 

OCC - Response 403

wesley_borges
Discoverer
0 Kudos

Hi.

I've some trouble in my local environment: when sending a POST request by REST Client [like postman or insomnia] to register a new product in my local database the answer is 403 - forbidden.

The request to get the oauth token it's ok, but the token seems not valid ""screenshot-from-2020-07-13-16-09-49.jpg [attachement].

Any help will be appreciated.

Regards,

Wesley Borges.

Accepted Solutions (0)

Answers (2)

Answers (2)

Hi,

the error on the screenshot mentions an issue with certificate (chain) validation.

In Postman, you could eventually fix this if you switch off SSL certificate verification (Settings->General->SSL certificate verification=OFF), but this is just a workaround to enable testing.

You should check your certificates and fix whatever the issue is. A tool like https://www.sslshopper.com/ssl-checker.html might help you see what the issue is.

Hope that helps!

wesley_borges
Discoverer
0 Kudos

Hi.

The SSL certificate verification already OFF in the REST Client, the authentication oauth works but some reason the POST in the customized endpoint looks not recognized this configuration.

The commerce OCC (spring security) response with the jsp to login.

Regards,

Wesley Borges.