403 error when exporting a product using 3scale toolbox
Issue
-
3scale remote deployment is configured to the toolbox with Provider API key as follows
3scale remote add -k '3scaleremotedeployment' 'https://<provider-API-key>@{ADMIN-PORTAL-DOMAIN}'
-
Following is the command use to export the product
3scale product export 3scaleremotedeployment {SERVICE-NAME}
-
Above command returns the following error
{ "code": "E_UNKNOWN", "message": "#<Net::HTTPForbidden 403 Forbidden readbody=true> body={\"status\":\"Forbidden\"}", "class": "ThreeScale::API::HttpClient::ForbiddenError", "stacktrace": [ "/usr/local/share/gems/gems/3scale-api-1.6.0/lib/3scale/api/http_client.rb:86:in `forbidden!'", "/usr/local/share/gems/gems/3scale-api-1.6.0/lib/3scale/api/http_client.rb:71:in `parse'",
-
How to avoid the above error and export the product?
Environment
- Red Hat 3scale API Management
- 2.8.0 On-Premises
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.