Incorrect chunk counts using API
We are getting incorrect chunk counts using API
https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/files
We are trying to export ~1GB file from Anaplan production model, which is ~100 chunks. But from last week, we are getting random chunk counts for all export processes across all models (incomplete chunk counts 50, 60 randomly). We made a change after this issue to add sleep time in python code after posting task, we are able to get full chunk counts after 3 minutes sleep time.
Sometimes, we are getting correct chunk count of 100 but getting 404 error (chunk not available) after processing couple of chunks e.g. after processing 36th chunk we get below error:
https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/files/{fileID}/chunks/37
Comments
-
Thanks @JaredDolich
sorry, we are using https://api.anaplan.com/2/0/workspaces/{wGuid}/models/{mGuid}/files/{fileID}/chunks
to get chunk count. It is taking minutes to get final chunk count.
0 -
Are you polling for task status (https://help.anaplan.com/e743102b-7707-42ed-bfb5-e417509525f0-Get-the-status-of-the-process-task) until the process has completed? It sounds like it takes some time to extract the the data from the model into the file
0 -
Thanks @ben_speight
Yes, we have added check "taskState": "COMPLETE" before getting chunk count and downloading chunks and it worked for us.
It was working fine with out this check since last year, but for some reason exporting partial data from 9/8.
0
Categories
- All Categories
- 2.3K Anaplan Community
- Academy
- Anaplan Talent Builder
- Model Design Course
- The Anaplan Way
- Archive
- 2 Idea exchange
- 62 Enterprise Scale
- 1.1K Extensibility
- 21 Intelligence
- 1.6K Planning & Modeling
- 331 Security
- Community Connections
- Connections
- Experiences
- Groups
- Personas
- Employees
- CS Toolkit
- Customer Care Center
- Forums
- Academy & Training
- Community Feedback & Updates
- Japan
- Anaplan Community Japan
- Anaplan Community Japan Knowledge Base
- HyperCare Japan
- JP-Central
- Support-Japanese
- Partners
- Partner Leadership Council
- Partner Product Council
- 724 Platform
- Anapedia
- App Hub
- Centers Of Excellence
- Extensions
- Planual
- Platform Updates
- 724 User Experience
- Profile Builder
- Resources
- Anaplan Advocates
- Anaplan Live!
- Community
- Community Advancement
- Community Connections
- Partner Program
- The Official Master Anaplanner Program
- Videos
- Welcome to the Anaplan Community!
- Success Central
- Support
- Case Portal Link
- Common Support Questions
- HyperCare Redirect
- Known Issues and Workarounds
- Support test page
- SupportFAQ
- Survey
- 2 Training Day Takeaways