API calls from ActiveDocs (Swagger) are returning 403

Solution Verified - Updated -

Issue

  • It appears that all calls made to our API via the ActiveDocs in our developer portal are failing with a 403 response. The returned response is:
<html>
<head><title>403 Forbidden</title></head>
<body bgcolor="white">
<center><h1>403 Forbidden</h1></center>
<hr><center>openresty/1.13.6.1</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->

Executing the curl command from the Swagger documentation directly outside of the Swagger docs succeeds and returns a JSON response with status code 200:

curl -X GET --header "Accept: application/json" --header "user-key: mykey" "https://api.example.com/v1/test"

Environment

  • Red Hat 3scale API Management Platform SaaS

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.