we are testing our patient-facing app and getting resources for the various "Smart family" patients. An error occurs when trying to get the CareTeam resource for Joe Smart only (patient id 12724067).
The error we see in our AWS CloudWatch log is:
{
"level": "error",
"message": "\"<!DOCTYPE HTML PUBLIC \\\"-//W3C//DTD HTML 4.01 Transitional//EN\\\" \\\"http://www.w3.org/TR/html4/loose.dtd\\\">\\n<HTML><HEAD><META HTTP-EQUIV=\\\"Content-Type\\\" CONTENT=\\\"text/html; charset=iso-8859-1\\\">\\n<TITLE>ERROR: The request could not be satisfied</TITLE>\\n</HEAD><BODY>\\n<H1>504 ERROR</H1>\\n<H2>The request could not be satisfied.</H2>\\n<HR noshade size=\\\"1px\\\">\\nCloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.\\nWe can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.\\n<BR clear=\\\"all\\\">\\nIf you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.\\n<BR clear=\\\"all\\\">\\n<HR noshade size=\\\"1px\\\">\\n<PRE>\\nGenerated by cloudfront (CloudFront)\\nRequest ID: i27qCzTwyNjXzfXE_8svSxZzAj4vaWF5eGA1FKjkvlaZg1_ihMLCgQ==\\n</PRE>\\n<ADDRESS>\\n</ADDRESS>\\n</BODY></HTML>\""
}This doesn't happen when getting other resources for Joe Smart, and we also don't have any errors in fetching CareTeam for other patients like Nancy Smart.
Also, I have tried in Postman to get CareTeam for Joe Smart, and the request just hangs forever, whereas requests for other resources like AllergyIntolerance and Condition go through just fine.