https://foomedical-ten.vercel.app/register When I ...
# general
y
https://foomedical-ten.vercel.app/register When I register a patient -> it fails Request URL: https://api.medplum.com/auth/newpatient Request Method: POST Status Code: 404 payload: {"login":"f5fb2c63-c886-4d3b-a3ab-dc369550d9eb","projectId":""} with response: {"resourceType":"OperationOutcome","id":"not-found","issue":[{"severity":"error","code":"not-found","details":{"text":"Not found"}}]} before it new user returns 200 with response {"login":"f5fb2c63-c886-4d3b-a3ab-dc369550d9eb"}
r
Hi Yury, could you confirm the projectId you've configured for https://foomedical-ten.vercel.app ?
y
992cb882-7e65-4385-aef6-36b7cd9d7b92
r
Thank you
y
interesting that I can sign in using google account through sign up page, but cannot through sign in
r
@yury.starav it sees like you have configured the VITE_MEDPLUM_PROJECT_ID with you CLIENT_ID, not your PROJECT_ID. - A project_id refers to your Medplum Project, which is the container that holds all of your FHIR resources. This is found at [https://app.medplum.com/admin/details] - The CLIENT_ID is similar what is called an "API key" in other systems. A single project can generate multiple CLIENT_IDs, each with different permissions and configurations Your client id is 992cb882-7e65-4385-aef6-36b7cd9d7b92, but the project id is different, which you can find here: https://app.medplum.com/admin/details
y
ok, let's me updated
It works thank you @rahul1
181 Views