Closed sgtdck closed 1 year ago
checking
@sgtdck I cannot reproduce this issue actually. Internally we have tests covering the cursor and paging scenario. When you did version bump, did you run a clean npm install?
@genlyken could you check if you encountered this issue?
I couldn't reproduce it either. I checked the cjs.js to make sure, and i'm using axios there.
It appears to have been a (persistent!) glitch in the matrix. After trying to reproduce once more, the bug has vanished.
Sorry for wasting your time, everyone - and thank you for looking into it so prompty. 👍
Which SDK version are you using?
17.0.3
What's the issue?
When calling endpoints which use
response.data
property, thebuildObjectsFromResponse
method tries to map these data items. However, since 17.0.3, it dies horribly, as it seems theresponse
param is now actuallyresponse.data
, thus it tries to performresponse.data.data.map(...)
- and no such property exists.It seems that the changes in this commit are the culprit.
I have confirmed that downgrading to
17.0.2
fixes the problem immediately.CC @stcheng as I believe it's your commit
Steps/Sample code to reproduce the issue
Observed Results:
Expected Results:
a neat list of
AdAccount
sWorkaround
Use
17.0.2
in the meantime.