org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Unable to move page. Reason is unknown.

JIRA | Terry Howdson | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Getting "Remote error: Unable to move page. Reason is unknown." when performing a movePage from CLI client. v3.9.0 is the only version that works with other commands like getServerInfo and getSpaceList, but does not work with movePage qatest01:~/confluence-cli-3.9.0> *./confluence.sh --action movePage --space "INCID" --title "IM-313019" --newSpace "INCIDARCH" --parent "Incidents Archive Home" --descendents -v* Server address: https://apps.mclaneco.com/wiki/rpc/soap-axis/confluenceservice-v1 Successful login to: https://apps.mclaneco.com/wiki/rpc/soap-axis/confluenceservice-v1 by user: username. Server address: https://apps.mclaneco.com/wiki/rpc/soap-axis/confluenceservice-v2 Successful login to: https://apps.mclaneco.com/wiki/rpc/soap-axis/confluenceservice-v2 by user: username. Action requires v2 remote API level. Service automatically updated to v2. URL requested: https://apps.mclaneco.com/wiki/pages/movepage.action?&spaceKey=INCIDARCH&os_password=***&targetTitle=Incidents+Archive+Home&os_username=username&position=append&pageId=452427965 Request type: GET Content type: application/xml Reading Key: Global_Services Val: 0000F_VXORWbHzTPaEFLRRot3yN:18itpqsl4 Reading Key: loginResult Val: 1 Reading Key: ApacheSrc Val: I Response code: 302, message: Found, url: https://www.mclaneco.com/mwa/redirect.jsp Redirecting to: http://www.mclaneco.com URL requested: http://www.mclaneco.com Request type: GET Content type: application/xml Response code: 301, message: Moved Permanently, url: http://www.mclaneco.com Redirecting to: https://www.mclaneco.com/ URL requested: https://www.mclaneco.com/ Request type: GET Content type: application/xml Response code: 200, message: OK, url: https://www.mclaneco.com/content/mclane/en/home.html Remote error: Unable to move page. Reason is unknown. org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Unable to move page. Reason is unknown. at org.swift.confluence.cli.ConfluenceClient.movePage(ConfluenceClient.java:1993) at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:508) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:122) at org.swift.common.cli.CliClient.doWork(CliClient.java:392) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:150) 7bea5d31d8 logged out.

    JIRA | 1 year ago | Terry Howdson
    org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Unable to move page. Reason is unknown.
  2. 0

    Getting "Remote error: Unable to move page. Reason is unknown." when performing a movePage from CLI client. v3.9.0 is the only version that works with other commands like getServerInfo and getSpaceList, but does not work with movePage qatest01:~/confluence-cli-3.9.0> *./confluence.sh --action movePage --space "INCID" --title "IM-313019" --newSpace "INCIDARCH" --parent "Incidents Archive Home" --descendents -v* Server address: https://apps.mclaneco.com/wiki/rpc/soap-axis/confluenceservice-v1 Successful login to: https://apps.mclaneco.com/wiki/rpc/soap-axis/confluenceservice-v1 by user: username. Server address: https://apps.mclaneco.com/wiki/rpc/soap-axis/confluenceservice-v2 Successful login to: https://apps.mclaneco.com/wiki/rpc/soap-axis/confluenceservice-v2 by user: username. Action requires v2 remote API level. Service automatically updated to v2. URL requested: https://apps.mclaneco.com/wiki/pages/movepage.action?&spaceKey=INCIDARCH&os_password=***&targetTitle=Incidents+Archive+Home&os_username=username&position=append&pageId=452427965 Request type: GET Content type: application/xml Reading Key: Global_Services Val: 0000F_VXORWbHzTPaEFLRRot3yN:18itpqsl4 Reading Key: loginResult Val: 1 Reading Key: ApacheSrc Val: I Response code: 302, message: Found, url: https://www.mclaneco.com/mwa/redirect.jsp Redirecting to: http://www.mclaneco.com URL requested: http://www.mclaneco.com Request type: GET Content type: application/xml Response code: 301, message: Moved Permanently, url: http://www.mclaneco.com Redirecting to: https://www.mclaneco.com/ URL requested: https://www.mclaneco.com/ Request type: GET Content type: application/xml Response code: 200, message: OK, url: https://www.mclaneco.com/content/mclane/en/home.html Remote error: Unable to move page. Reason is unknown. org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Unable to move page. Reason is unknown. at org.swift.confluence.cli.ConfluenceClient.movePage(ConfluenceClient.java:1993) at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:508) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:122) at org.swift.common.cli.CliClient.doWork(CliClient.java:392) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:150) 7bea5d31d8 logged out.

    JIRA | 1 year ago | Terry Howdson
    org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Unable to move page. Reason is unknown.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.swift.common.cli.AbstractRemoteClient$RemoteRestException

      Unable to move page. Reason is unknown.

      at org.swift.confluence.cli.ConfluenceClient.movePage()
    2. org.swift.confluence
      ConfluenceClient.handleRequest
      1. org.swift.confluence.cli.ConfluenceClient.movePage(ConfluenceClient.java:1993)
      2. org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:508)
      2 frames
    3. org.swift.common
      CliClient.doWork
      1. org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:122)
      2. org.swift.common.cli.CliClient.doWork(CliClient.java:392)
      2 frames
    4. org.swift.confluence
      ConfluenceClient.main
      1. org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:150)
      1 frame