Hi Team,
We integrate with the Sonarqube API to help our customers retrieve their data and transfer it to their destination.
For one of our customer integrations, we observed that when making API calls to any endpoint, the API returns a 302 status code and redirects us to a different URL. However, instead of a JSON response, the redirected URL returns an HTML response.
Please find the API response below,
<html>
<body>
<input type="hidden" name="final_redirect" value="eyJ1cmwiOiAiaHR0cHM6Ly9jc3FpMS5jaXNjby5jb20vYXBpL2NvbXBvbmVudHMvc2VhcmNoIiwgInN2YyI6ICJjc3FpMS5jaXNjby5jb20ifQ==||1743497752|85357ccb4ca9687a93eb4ef82586a64a4cc9ddcabdafcf8f52e9ab2f103f1075">
<input type="hidden" name="endpoint" value="/login">
<script src="/static/js/lib/get_frag.js?v=ce15d"></script>
</body>
</html>
Could you help us understand this issue and let us know if any action is required on our end to resolve it?
One of the affected endpoints:
https://csqi1.cisco.com/api/components/search
Looking forward to your insights.