com.microsoft.graph.http.GraphServiceException: Error code: invalidRequest Error message: Cannot call Copy without the respond-async preference POST https://graph.microsoft.com/v1.0/me/drive/items/3FCC79A25960915F!116/microsoft.graph.copy SdkVersion : graph-android-v0.9.2 Authorization : bearer EwC4Asl6BAAU1sPaz/0rP7ovs9b[...] {"parentReference":{"id":"3FCC79A25960915F!106","@[...] 400 : Bad Request [...] [Some information was truncated for brevity, enable debug logging for more details]

GitHub | diogowbrito | 7 months ago
  1. 0

    Error trying to copy a file

    GitHub | 7 months ago | diogowbrito
    com.microsoft.graph.http.GraphServiceException: Error code: invalidRequest Error message: Cannot call Copy without the respond-async preference POST https://graph.microsoft.com/v1.0/me/drive/items/3FCC79A25960915F!116/microsoft.graph.copy SdkVersion : graph-android-v0.9.2 Authorization : bearer EwC4Asl6BAAU1sPaz/0rP7ovs9b[...] {"parentReference":{"id":"3FCC79A25960915F!106","@[...] 400 : Bad Request [...] [Some information was truncated for brevity, enable debug logging for more details]

    Root Cause Analysis

    1. com.microsoft.graph.http.GraphServiceException

      Error code: invalidRequest Error message: Cannot call Copy without the respond-async preference POST https://graph.microsoft.com/v1.0/me/drive/items/3FCC79A25960915F!116/microsoft.graph.copy SdkVersion : graph-android-v0.9.2 Authorization : bearer EwC4Asl6BAAU1sPaz/0rP7ovs9b[...] {"parentReference":{"id":"3FCC79A25960915F!106","@[...] 400 : Bad Request [...] [Some information was truncated for brevity, enable debug logging for more details]

      at com.microsoft.graph.http.DefaultHttpProvider.handleErrorResponse()
    2. com.microsoft.graph
      DefaultHttpProvider$1.run
      1. com.microsoft.graph.http.DefaultHttpProvider.handleErrorResponse(DefaultHttpProvider.java:310)
      2. com.microsoft.graph.http.DefaultHttpProvider.sendRequestInternal(DefaultHttpProvider.java:246)
      3. com.microsoft.graph.http.DefaultHttpProvider.access$000(DefaultHttpProvider.java:47)
      4. com.microsoft.graph.http.DefaultHttpProvider$1.run(DefaultHttpProvider.java:129)
      4 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      3. java.lang.Thread.run(Thread.java:818)
      3 frames