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

Error when updating cohort using updateCohortDefinition() function #266

Open
sutsabs opened this issue Jun 22, 2023 · 0 comments
Open

Error when updating cohort using updateCohortDefinition() function #266

sutsabs opened this issue Jun 22, 2023 · 0 comments

Comments

@sutsabs
Copy link

sutsabs commented Jun 22, 2023

Trying to update different cohortDefinition setting such as cohort name, settings in cohort entry event. This can be easily done in Atlas tool. When trying to use ROhdsiWebApi to update the cohort I am getting 403 error.

cd <- getCohortDefinition(1965, baseUrl)
updateCohortDefinition(cd, baseUrl)
Error in value[3L] :
Error with cohort definition: Error in .request():
! http error 403: Forbidden request.
You do not have permission to perform this action.

On a seperate note, I am able to use updateConceptSetDefinition() to update the existing conceptset but here I am only able to update the title only. Update to other setting such as includeDescendants are not registered.

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