Legacy Dev Forum Posts

 View Only

Sign Up

Batch Recordings - Expired Token

  • 1.  Batch Recordings - Expired Token

    Posted 06-05-2025 18:14

    Brad_Hoyle | 2018-12-07 04:42:23 UTC | #1

    I am trying to download 100 recordings in a batch process.

    I successfully authenticate POST JSON payload of conversation IDs to https://api.mypurecloud.com.au/api/v2/recording/batchrequests Return a Job ID Then GET from https://api.mypurecloud.com.au/api/v2/recording/batchrequests/jobid I then get a list of 100 URLs When I click the URLs to open them I get an Expired Token Error


    tim.smith | 2018-12-07 14:49:37 UTC | #2

    How long are you waiting between requesting the recording and actually downloading the file? The download URLs do expire after a certain amount of time.


    Brad_Hoyle | 2018-12-18 04:47:08 UTC | #3

    There was probably 2 days between requesting and actually downloading so they probably expired. Issue was even if i requested a new job ID, waiting for the download then downloaded those links, it would still give me the error. Almost as if the token was for the conversationID regardless of requesting a new job.

    I was able to resolve the issue by doing everything from scratch again. Creating a new connected app, new conversation IDs, new jobs, instant downloads. Quite painful.


    system | 2019-01-18 04:47:09 UTC | #4

    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: 4140