Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

csv_import async TypeError: cannot convert dictionary update sequence element #0 to a sequence #997

Closed
ukanga opened this issue Apr 10, 2017 · 0 comments

Comments

@ukanga
Copy link
Member

ukanga commented Apr 10, 2017

Internal Server Error: /api/v1/forms/[pk]/csv_import.json

TypeError at /api/v1/forms/[pk]/csv_import.json
cannot convert dictionary update sequence element #0 to a sequence

Request Method: GET
Request URL: https://api.ona.io/api/v1/forms/[pk]/csv_import.json?job_uuid=[uuid]
.
.
.
File "/..../.virtualenvs/onadata/local/lib/python2.7/site-packages/rest_framework/views.py" in dispatch
  463.             response = handler(request, *args, **kwargs)

File "./onadata/apps/api/viewsets/xform_viewset.py" in csv_import
  542.                     request.query_params.get('job_uuid')))

Exception Type: TypeError at /api/v1/forms/[pk]/csv_import.json
Exception Value: cannot convert dictionary update sequence element #0 to a sequence
Request information:
GET:
job_uuid =

Aha! Link: https://ona.aha.io/features/PROD-579

@ukanga ukanga added the Error label Apr 10, 2017
@ukanga ukanga added this to the Week 14-15 milestone Apr 11, 2017
@ukanga ukanga added the Has-PR label Apr 11, 2017
@ukanga ukanga closed this as completed in 4df6397 Apr 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant