Chunks Error

Options
pankajnegi1920
pankajnegi1920 Member, ALL USERS, Partner Posts: 4 New Contributor

chunksArray = jsonResponse["chunks"]
KeyError: 'chunks'

 

pankajnegi1920_0-1657712820065.png

 

Hi all, 
I have connected with Anaplan through API with help of Python .

Basically I am Exporting file from Anaplan for getting suggestion
But now If i am using my credentials and my Model it is working fine.
But for others it showing error above pasted.

Chunks are generating in my scenario but not on others

Comments

  • pankajnegi1920
    pankajnegi1920 Member, ALL USERS, Partner Posts: 4 New Contributor

    Others export and mine has no difference in size, although they have small one.
    Json response is also ok but not including Key 'chunks' in others case
    Like this: 

     

    {'meta': {'paging': {'currentPageSize': 0, 'offset': 0, 'totalSize': 0}, 'schema': 'https://api.anaplan.com/2/0/models/1B10FCDB61144BDA8BE3E743448B49CF/
    objects/chunk'}, 'status': {'code': 200, 'message': 'Success'}}