Getting Not Found error when testing rest api from developer portal in 3scale.

Posted on

Hi,

In 3scale when we are running an Api from ActiveDocs it is running fine. But when we are running the same Api from Developer portal then it is throwing error:

Failed to load resource: the server responded with a status of 404 (Not Found)
https://host/api_docs/proxy?_=1618440619187

Logs from system-app-pod:

[a378c063-e990-4ccf-bcac-49c096971c3a] [host] [ip] Started GET "/api_docs/proxy?_=1618440964964" for ip at 2021-04-14 22:56:04 +0000
[a378c063-e990-4ccf-bcac-49c096971c3a] [host] [ip] Processing by DeveloperPortal::CMS::NewContentController#show as JSON
[a378c063-e990-4ccf-bcac-49c096971c3a] [host] [ip]   Parameters: {"_"=>"1618440964964", "path"=>"api_docs/proxy"}
[a378c063-e990-4ccf-bcac-49c096971c3a] [host] [ip] Handling Exception: Couldn't find CMS::Page with status not_found
[a378c063-e990-4ccf-bcac-49c096971c3a] [host] [ip] Completed 404 Not Found in 24ms (Views: 0.3ms | ActiveRecord: 7.6ms)
ip - - [14/Apr/2021:22:56:04 +0000] "GET /api_docs/proxy?_=1618440964964 HTTP/1.1" 404 - 0.0495

Please suggest.

Regards,
Farzam Alam

Responses