Legacy Dev Forum Posts

 View Only

Sign Up

Bulk delete recordings, Cannot read property 'statusCode' of undefined

  • 1.  Bulk delete recordings, Cannot read property 'statusCode' of undefined

    Posted 06-05-2025 18:22

    Piotr_Danielewski | 2022-04-12 07:15:29 UTC | #1

    Hello! I'm trying to use this method https://developer.genesys.cloud/analyticsdatamanagement/recording/recordings-bulk-action#introduction to delete recordings from one of our environments.

    Unfortunately, while running the code, I'm getting an error message:


    C:\BulkDelete\node_modules\purecloud-platform-client-v2\dist\node\purecloud-platform-client-v2.js:686

    response.statusCode,

    ^

    TypeError: Cannot read property 'statusCode' of undefined

    at C:\BulkDelete\node_modules\purecloud-platform-client-v2\dist\node\purecloud-platform-client-v2.js:686:16

    at Request.callback (C:\BulkDelete\node_modules\superagent\lib\node\index.js

    at ClientRequest.<anonymous> (C:\BulkDelete\node_modules\superagent\lib\node\index.js

    at ClientRequest.emit (node:events:394:28)

    at TLSSocket.socketErrorListener (node:httpclient:447:9)

    at TLSSocket.emit (node:events:394:28)

    at emitErrorNT (node:internal/streams/destroy:157:8)

    at emitErrorCloseNT (node:internal/streams/destroy:122:3)

    at processTicksAndRejections (node:internal/process/task_queues:83:21)


    I tried contacting support, but the answer I got is that it's “…beyond the scope of care to help further with troubleshooting this issue…”.

    I would appreciate some hint on how to resolve this issue.

    Thanks! Piotr


    system | 2022-05-13 07:16:08 UTC | #2

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 14287