- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
WAPI csv_import Function Error: 'Too many CSV import tasks are in the UPLOADED state...'
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2019 09:00 AM - edited 01-22-2019 12:34 PM
***Update: A colleague was able to find that there was an additional entry in the CSV Job Manager UI that showed a "saved" status. Upon deleting that entry, the API endpoints as described below worked as expected. I am not sure how the error was originally caused, and I have not been able to recreate it. Will try to remember to update further if more information is found.
I am observing the same behavior that tgraham2 mentions in the thread for how to perform CSV import via the WAPI here. I notice after the first step of the prescribed method to importing a CSV file (function fileop.uploadinit), the URL that is provided back to me has path
/http_direct_file_io/req_id-UPLOAD-xxxx/import_file
where xxxx is a four digit number that increments each time I make the call (currently the number is at 1034).
I use the URL and token in the second call as described above and get an empty 200 response. Then, upon running the third request described (function csv_import), I get a 400 status code and the response body is:
{ "Error": "AdmConProtoError: Too many CSV import tasks are in the UPLOADED state. Only 1 UPLOADED tasks are allowed for each user.", "code": "Client.Ibap.Proto", "text": "Too many CSV import tasks are in the UPLOADED state. Only 1 UPLOADED tasks are allowed for each user." }
I am unable as of yet to find in the documentation how to clear this apparent queue of UPLOADED state tasks so that this WAPI CSV upload can be successfully requested. Any direction on how to resolve this issue would be greatly appreciated. Please note I am using WAPI v2.6.1.
Re: WAPI csv_import Function Error: 'Too many CSV import tasks are in the UPLOADED state...'
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2019 06:24 AM
Any update on this error? Iam suffereing the same problem.
thanks
Re: WAPI csv_import Function Error: 'Too many CSV import tasks are in the UPLOADED state...'
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2021 09:19 AM
Same problem
Re: WAPI csv_import Function Error: 'Too many CSV import tasks are in the UPLOADED state...'
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2021 09:46 PM
It looks like files uploaded by API aren't visible by GUI or API until the task is started.
If you could, please post a code sample.