http 500 when trying to create a new client
# support
h
Hello, I am getting 500's back from app.medplum.com while trying to create a new client:
POST https://api.medplum.com/admin/projects/484dde46-5e1f-43cb-a711-1a7614332a42/client
body
Copy code
{
  "name": "fhir-sync/dev",
  "description": "",
  "redirectUri": ""
}
response:
Copy code
{
  "msg": "Internal Server Error"
}
r
that Admin page exists in the web application, but is not an API endpoint. Quick question - is there a reason you are creating the clients programmatically?
r
@hnoj. - You can use the Client Application endpoint to programatically create a new ClientApplication https://www.medplum.com/docs/api/project-admin/client
h
To clarify, I am not trying to do this programmatically -- this error is/was happening for me within app.medplum.com I just happened to pull the failing request details from Chrome's network tab
r
Hi @hnoj. , we're looking into the root cause of this . I will get back to you
Hi @hnoj. - thank you for bringing this to our attention. There was a small bug that we found when creating client apps on projects with "Check references on write" https://github.com/medplum/medplum/issues/3183
We've filed an issue and will get that fixed shortly
h
Awesome, thank you @rahul1 !
confirming this is working now 👍
132 Views