try_redcapr function

Make a REDCapR API call with custom error handling