Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dash] Opening Documents without prior DQ fails #1554

Closed
Goncharo opened this issue Jan 31, 2024 · 1 comment
Closed

[Dash] Opening Documents without prior DQ fails #1554

Goncharo opened this issue Jan 31, 2024 · 1 comment
Assignees
Labels
bug Something isn't working medical-api Issue related to the Medical API

Comments

@Goncharo
Copy link
Member

Steps to reproduce

  1. create a patient
  2. don’t open the medical documents window
  3. add a document through the API
  4. open the medical documents window
  5. the dash displays Something went wrong, try again

What did you expect to happen?

The uploaded doc is listed.

What is actually happening?

The dash displays Something went wrong, try again.

The reason is because we return the raw Doc Query Progress on GET /document/query and it can be undefined; the SDK requires response.data, so it throws No data returned from API to the Dash.

Originally seen here: https://metriport.slack.com/archives/C04DMKE9DME/p1706641600357229?thread_ts=1706395587.296359&cid=C04DMKE9DME

Environment

No response

Any additional comments?

No response

@Goncharo Goncharo added bug Something isn't working medical-api Issue related to the Medical API labels Jan 31, 2024
@Goncharo Goncharo assigned Goncharo and unassigned Goncharo Jan 31, 2024
@leite08 leite08 changed the title [Bug]: [Dash] Opening Documents without prior DQ fails [Dash] Opening Documents without prior DQ fails May 5, 2024
@Orta21 Orta21 self-assigned this Jun 10, 2024
@Orta21
Copy link
Member

Orta21 commented Jun 11, 2024

This was fixed with this commit 36a060a

@Orta21 Orta21 closed this as completed Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working medical-api Issue related to the Medical API
Projects
None yet
Development

No branches or pull requests

2 participants