AnsweredAssumed Answered

Issue with Rally Node library. https://github.com/RallyTools/rally-node/wiki/User-Guide

Question asked by saithakur on Aug 16, 2018
Latest reply on Aug 17, 2018 by Sagi_Gabay

Dear Team,

 

I am Sai from Cisco. I work with Rally OpsBI Team here. 

I am using your community based Node Rally Api to talk to Rally API end points. While I was trying to fetch the portfolioItems, I am seeing the issue where the error is something like the below.

 

SyntaxError: Unexpected token v in JSON at position 9125386

    at JSON.parse (<anonymous>)

    at Request._callback (/Users/saithaku/Projects/work/RallyJobs/delete-restore-views-job/node_modules/rally/dist/request.js:118:32)

    at Request.self.callback (/Users/saithaku/Projects/work/RallyJobs/delete-restore-views-job/node_modules/request/request.js:187:22)

    at emitTwo (events.js:126:13)

    at Request.emit (events.js:214:7)

    at Request.<anonymous> (/Users/saithaku/Projects/work/RallyJobs/delete-restore-views-job/node_modules/request/request.js:1044:10)

    at emitOne (events.js:116:13)

    at Request.emit (events.js:211:7)

    at Gunzip.<anonymous> (/Users/saithaku/Projects/work/RallyJobs/delete-restore-views-job/node_modules/request/request.js:965:12)

    at emitNone (events.js:111:20)

 

This issue is happening when I am trying to fetch our records starting 3500 - 4000. My guess is, the error handling is not properly written in rally node api. 

Can any of your folks help us here?

 

Regards,

Sai

Outcomes