18F / 10x-MLaaS

Repository for machine learning tool, MeL, that assist in providing insights for open text data. This tool is part of the 10x Machine Learning as a Service project (formerly known as Qualitative Data Management).
https://10x.gsa.gov
Other
13 stars 8 forks source link

BUG: Using the lastResponseId param in qualtrics.py results in a 400 - Bad Request. #35

Closed csmcallister closed 6 years ago

csmcallister commented 6 years ago

Expected Behavior

When passing the lastResponseId param to the Qualtrics Create Response Export API, you should get get a 200 response and then be able to get your data using a Get request once it's ready. If there are no new responses after the lastResponseId you pass into the request, a file with only column headers should be downloaded when using the subsequent Get Response Export File API call.

Current Behavior

Including the lastResponseId param results in a 400 - Bad Request.

Possible Solution

csmcallister commented 6 years ago

A newline was being passed into the lastResponseId param. That was causing the 400 response.