chunksArray = jsonResponse["chunks"]
KeyError: 'chunks'
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
Great question and one that can cause some challenges if the file/export is too big. I would recommend you get the chunk data first then use Python to iterate on each chunk. That should work. Here's a sample Python script to help you.
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'}}