org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Could not find indication of a successful start of import processing. Use --debug to get response data.

JIRA | saravanan subramanian | 1 year ago
  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 | 12 months ago | Terry Howdson
    org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Unable to move page. Reason is unknown.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 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 | 12 months ago | Terry Howdson
    org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Unable to move page. Reason is unknown.

    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

      Could not find indication of a successful start of import processing. Use --debug to get response data.

      at org.swift.confluence.cli.ConfluencePseudoClient.parseResultData()
    2. org.swift.confluence
      ConfluenceClient.handleRequest
      1. org.swift.confluence.cli.ConfluencePseudoClient.parseResultData(ConfluencePseudoClient.java:188)
      2. org.swift.confluence.cli.ConfluencePseudoClient.restRequest(ConfluencePseudoClient.java:303)
      3. org.swift.confluence.cli.ConfluenceClient.restoreExport(ConfluenceClient.java:6289)
      4. org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:926)
      4 frames
    3. org.swift.common
      CliClient.doWork
      1. org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:285)
      2. org.swift.common.cli.CliClient.doWork(CliClient.java:414)
      2 frames
    4. org.swift.confluence
      ConfluenceClient.main
      1. org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:171)
      1 frame