We have one particular participant that we can’t create and register in OpenSpecimen through the API. We get HTTP 400 bad request.
This is the JSON that we are sending (ePHI changed of course):
“{“cpId”:“81”,“participant”:{“firstName”:“Shirley”,“middleName”:“Ann”,“lastName”:“Temple”,“uid”:null,“birthDate”:“1946-11-10”,“vitalStatus”:null,“deathDate”:null,“gender”:“Female”,“races”:[“White”],“ethnicity”:“Not Hispanic or Latino”,“sexGenotype”:null,“pmis”:[{“mrn”:“12345678”,“siteName”:“Winship Cancer Institute”}],“empi”:null,“activityStatus”:null},“ppid”:“BBI608-201CIT-7”,“registrationDate”:“2016-07-06”}”
I don’t see anything in the Tomcat logs that explains the failure. I turned on Hibernate logging as well. I can’t see an explanation there either.
Thank you.