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

The PUT /patients/{patientid}/customfields endpoint fails w/ JSON decoding error using the APIConnection class #29

Open
GregMorford opened this issue Aug 29, 2020 · 0 comments

Comments

@GregMorford
Copy link

I fixed it by changing this line:
body = urllib.parse.urlencode(parameters)

to this:
body = urllib.parse.urlencode(parameters).replace('%27','%22')

Which is just changing the single quotes to double quotes in the encoded url string.

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