Skip to content

Redcap data dictionary causing errors #936

@philayres

Description

@philayres
multiple variables found for {"source_name":"redcap.partners.org","source_type":"redcap","form_name":"consent_page","variable_name":"consent_email","redcap_data_dictionary":{"admin_id":6,"captured_metadata":[{"field_name":"record_id","form_name":"consent_page","section_header":"","field_type":"text","field_label":"Record ID","select_choices_or_calculations":"","field_note":"","text_validation_type_or_show_slider_number":"","text_validation_min":"","text_validation_max":"","identifier":"","branching_logic":"","required_field":"","custom_alignment":"","question_number":"","matrix_group_name":"","matrix_ranking":"","field_annotation":"@HIDDEN"},{"field_name":"description","form_name":"consent_page","section_header":"","field_type":"descriptive","field_label":"...","select_choices_or_calculations":"","field_note":"","text_validation_type_or_show_slider_number":"","text_validation_min":"","text_validation_max":"","identifier":"","branching_logic":"","required_field":"","custom_alignment":"","question_number":"","matrix_group_name":"","matrix_ranking":"","field_annotation":""},{"field_name":"first_name","form_name":"consent_page","section_header":"","field_type":"text","field_label":"First Name","select_choices_or_calculations":"","field_note":"","text_validation_type_or_show_slider_number":"","text_validation_min":"","text_validation_max":"","identifier":"y","branching_logic":"","required_field":"y","custom_alignment":"","question_number":"","matrix_group_name":"","matrix_ranking":"","field_annotation":""},{"field_name":"last_name","form_name":"consent_page","section_header":"","field_type":"text","field_label":"Last Name","select_choices_or_calculations":"","field_note":"","text_validation_type_or_show_slider_number":"","text_validation_min":"","text_validation_max":"","identifier":"y","branching_logic":"","required_field":"y","custom_alignment":"","question_number":"","matrix_group_name":"","matrix_ranking":"","field_annotation":""},{"field_name":"dob","form_name":"consent_page","section_header":"","field_type":"text","field_label":"Date of Birth","select_choices_or_calculations":"","field_note":"","text_validation_type_or_show_slider_number":"date_mdy","text_validation_min":"","text_validation_max":"","identifier":"y","branching_logic":"","required_field":"y","custom_alignment":"","question_number":"","matrix_group_name":"","matrix_ranking":"","field_annotation":""},{"field_name":"consent_y_n","form_name":"consent_page","section_header":"","field_type":"radio","field_label":"Please check 'Yes' to confirm that you consent to receiving a blood pressure device and confirm your willingness to provide blood pressure measurements. \r\n\r\nIf you check 'No', please submit. ","select_choices_or_calculations":"1, Yes | 2, No","field_note":"","text_validation_type_or_show_slider_number":"","text_validation_min":"","text_validation_max":"","identifier":"","branching_logic":"","required_field":"","custom_alignment":"","question_number":"","matrix_group_name":"","matrix_ranking":"","field_annotation":""},{"field_name":"consent_email","form_name":"consent_page","section_header":"","field_type":"text","field_label":"Email address","select_choices_or_calculations":"","field_note":"","text_validation_type_or_show_slider_number":"email","text_validation_min":"","text_validation_max":"","identifier":"","branching_logic":"","required_field":"","custom_alignment":"","question_number":"","matrix_group_name":"","matrix_ranking":"","field_annotation":"@HIDDEN"},{"field_name":"study_id","form_name":"consent_page","section_header":"","field_type":"text","field_label":"Study ID","select_choices_or_calculations":"","field_note":"","text_validation_type_or_show_slider_number":"integer","text_validation_min":"","text_validation_max":"","identifier":"","branching_logic":"","required_field":"","custom_alignment":"","question_number":"","matrix_group_name":"","matrix_ranking":"","field_annotation":"@HIDDEN"}],"field_count":8,"id":108,"redcap_project_admin_id":136,"disabled":false,"created_at":"2025-12-16T15:48:26.389Z","updated_at":"2026-02-26T17:41:41.687Z","_class_name":"Redcap::DataDictionary","user_email":null}}
/var/app/current/app/models/dynamic/datadic_variable_handler.rb:148:in 'Dynamic::DatadicVariableHandler#refresh_variable_record'
/var/app/current/app/models/redcap/data_dictionaries/field.rb:295:in 'Redcap::DataDictionaries::Field#refresh_variable_record'
/var/app/current/app/models/redcap/data_dictionary.rb:201:in 'block (2 levels) in Redcap::DataDictionary#refresh_variables_records'
/var/app/current/app/models/redcap/data_dictionary.rb:200:in 'Hash#each_value'
/var/app/current/app/models/redcap/data_dictionary.rb:200:in 'block in Redcap::DataDictionary#refresh_variables_records'
/var/app/current/app/models/redcap/data_dictionary.rb:199:in 'Hash#each_value'
/var/app/current/app/models/redcap/data_dictionary.rb:199:in 'Redcap::DataDictionary#refresh_variables_records'

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions