Export of REDCap records using the ODM format throws a NullReferenceException #92

Closed
opened 2021-04-01 11:44:38 -04:00 by tomhydra · 0 comments
tomhydra commented 2021-04-01 11:44:38 -04:00 (Migrated from github.com)

The issue is caused when the redcap API response header does not contain "ContentType".

Sample

var redcapApi = new RedcapApi(apiUrl); ;
var results = redcapApi.ExportRecordsAsync(apiToken, Redcap.Models.ReturnFormat.odm).Result;
The issue is caused when the redcap API response header does not contain "ContentType". Sample ```c# var redcapApi = new RedcapApi(apiUrl); ; var results = redcapApi.ExportRecordsAsync(apiToken, Redcap.Models.ReturnFormat.odm).Result; ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tranpl/redcap-api#92
No description provided.