Failure in copy service command using 3scale toolbox

Solution Verified - Updated -


  • Issues using the 3scale toolbox to copy services over same environment source and destination with toolbox version 0.18.3.

    3scale -v
  • HTTP Forbidden 403 Forbidden Error when using copy service command .

    3scale copy service 357 --source=https://{ACCESS_KEY}@{3SCALE_ADMIN}-admin.{DOMAIN_NAME} --destination=https://{DEST_KEY}@{3SCALE_ADMIN}-admin.{DOMAIN_NAME} --target_system_name={NEW_NAME}
    new service id 104
    updated proxy of 104 to match the original
    original service hits metric 843 has 0 methods
    target service hits metric 305 has 0 methods
    created 0 missing methods on target service
    original service has 1 metrics
    target service has 1 metrics
    created 0 metrics on the target service
    target service missing 1 application plans
    Missing 0 plan limits from target application plan 309. Source plan 1023
    copy proxy policies
    Missing 0 pricing rules from target application plan 309. Source plan 1023
    copying all service ActiveDocs
    destroying all mapping rules
      "code": "E_UNKNOWN",
      "message": "#<Net::HTTPForbidden 403 Forbidden readbody=true> body={\"status\":\"Forbidden\"}",
      "class": "ThreeScale::API::HttpClient::ForbiddenError",
      "stacktrace": [
        "C:/3scale-toolbox/embedded/lib/ruby/gems/2.5.0/gems/3scale-api-1.4.0/lib/3scale/api/http_client.rb:74:in `forbidden!'",
        "C:/3scale-toolbox/embedded/lib/ruby/gems/2.5.0/gems/3scale-api-1.4.0/lib/3scale/api/http_client.rb:59:in `parse'",
        "C:/3scale-toolbox/embedded/lib/ruby/gems/2.5.0/gems/3scale-api-1.4.0/lib/3scale/api/http_client.rb:36:in `get'",
        "C:/3scale-toolbox/embedded/lib/ruby/gems/2.5.0/gems/3scale-api-1.4.0/lib/3scale/api/client.rb:1025:in `list_backend_usages'",
        "C:/3scale-toolbox/embedded/lib/ruby/gems/2.5.0/gems/3scale_toolbox-0.18.3/lib/3scale_toolbox/remote_cache.rb:144:in `public_send'",
        "C:/3scale-toolbox/embedded/lib/ruby/gems/2.5.0/gems/3scale_toolbox-0.18.3/lib/3scale_toolbox/remote_cache.rb:144:in `method_missing'",


  • Red Hat 3scale API Management
    • 2.X On-premises

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content