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

issue in friday-call-demo with redcap_event_name #130

Open
aboulang opened this issue Aug 2, 2023 · 0 comments
Open

issue in friday-call-demo with redcap_event_name #130

aboulang opened this issue Aug 2, 2023 · 0 comments

Comments

@aboulang
Copy link

aboulang commented Aug 2, 2023

For Server info: REDCap 13.8.1 · PHP 7.3.29 (Linux/Unix OS) · MySQL 5.7.34
Running the demo against 2 different REDCap server instances gets the same error:

fields_to_read <- c(
"record_id",
"redcap_event_name",
"sample_collected_date",
paste0("tube_id", 1:tubes_per_collection),
paste0("tube_specimen_type", 1:tubes_per_collection),
paste0("tube_volume", 1:tubes_per_collection)
)

source_project_data <- REDCapR::redcap_read(
redcap_uri = source_credentials$redcap_uri,
token = source_credentials$token,
fields = fields_to_read
)

ERROR: The following values in the parameter "fields" are not valid: 'redcap_event_name'
Error in REDCapR::redcap_read(redcap_uri = source_credentials$redcap_uri, :
The redcap_read() call failed on iteration 1.

Taking the field out allows the read to happen but of course, it is needed for the demo.

I suspect there may be an API change or a change with Will Beasley's REDCapR library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant