Uncaught error on app when trying to view some res...
# support
d
Hi! running a self hosted instance. we deployed the app package to be our internal dashboard. Things are working great, but there are some resources I can't see and I'm not sure where the error is. When looking at Patients or Practitioners, in the list or single view, it says:
Copy code
{
  "msg": "Internal Server Error"
}
Copy code
{
  "outcome": {
    "resourceType": "OperationOutcome",
    "issue": [
      {
        "severity": "error",
        "code": "invalid",
        "details": {
          "text": "{\"msg\":\"Internal Server Error\"}"
        }
      }
    ]
  }
}
The GET response is
Copy code
GET https://devapi.medplum.lotuscares.ai/fhir/R4/Patient?_count=20&_offset=0&_sort=-_lastUpdated&_total=accurate 500 (Internal Server Error)
With no additional information. Looking at server logs in Datadog says the following:
Copy code
TypeError [ERR_INVALID_ARG_TYPE]: The "key.key" property must be of type string or an instance of ArrayBuffer, Buffer, TypedArray, DataView, KeyObject, or CryptoKey. Received undefined
Any help appreciated, thanks!
I feel it might be having an older version of the dashboard. forgot to post that. We're using the components in
"@medplum/react": "^2.1.14",
Migrating to the newest version and the changes to mantine and postcss seems like a whole ordeal - but eventually we'll have to.
r
Hi, @dvidsilva , without more debugging info it might hard to debug. Most likely there was some error in deploying the self-hosted instance
Is there more information in the log line? Typically, you would expect to see a stack trace
171 Views