Stream: hapi
Topic: POST fails after updating HAPI
Dexter (Jun 29 2021 at 05:04):
This is the payload I'm trying to send
{
"resourceType": "Bundle",
"type": "transaction",
"entry": [
{
"fullUrl": "urn:uuid:fea30307-d894-11eb-a108-e0946771098e",
"resource": {
"resourceType": "Practitioner",
"telecom": [
{
"system": "email",
"value": "a@a.c"
}
],
// other data
},
"request": {
"method": "POST",
"ifNoneExist": "telecom=a@a.c"
}
},
{
"resource": {
"resourceType": "PractitionerRole",
"active": "true",
"practitioner": {
"type": "Practitioner",
"reference": "Practitioner/urn:uuid:fea30307-d894-11eb-a108-e0946771098e"
},
"code": [
{
"coding": [
{
"system": "EXSYS",
"code": "primary-physician"
}
]
}
]
},
"request": {
"method": "POST",
"ifNoneExist": "practitioner.telecom=a@a.c"
}
}
]
}
I get the error (after updating hapi to the latest container)
Failed to call access method:
org.springframework.dao.InvalidDataAccessApiUsageException:
Invalid match URL format (must match \"[resourceType]?[params]\");
nested exception is java.lang.IllegalArgumentException:
Invalid match URL format (must match \"[resourceType]?[params]\")
Last updated: Apr 12 2022 at 19:14 UTC