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

Dapr-specific error codes in APIs #6068

Open
artursouza opened this issue Mar 13, 2023 · 7 comments
Open

Dapr-specific error codes in APIs #6068

artursouza opened this issue Mar 13, 2023 · 7 comments
Assignees
Labels
P1 pinned size/L 3 weeks of work
Milestone

Comments

@artursouza
Copy link
Member

In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

Describe the proposal

In addition to the usual status codes for HTTP and gRPC APIs for Dapr, it should also include Dapr-specific error codes. It can quickly be used to identify troubleshooting guides and even (in some cases) trigger recovery code paths in the application.

Examples:

  • Error code for eTag mismatch in state store
  • Error code for invalid Resiliency policy
  • Error code for secret not found
@artursouza artursouza added this to the v1.11 milestone Mar 13, 2023
@artursouza artursouza changed the title Dapr-specific error codes Dapr-specific error codes in APIs Mar 13, 2023
@artursouza artursouza added P1 pinned size/L 3 weeks of work labels Mar 13, 2023
@robertojrojas
Copy link
Contributor

A proposal on how to handle this issue can be found here Dapr Error Handling/Codes

@berndverst
Copy link
Member

berndverst commented Apr 6, 2023

@robertojrojas will you be moving the proposal to a PR in the Dapr org somewhere so we can comment on it there as well? Ideally in the dapr/proposals repo?

Also can you summarize any outcome from your design discussion somewhere? I was on vacation. Thanks!

@robertojrojas
Copy link
Contributor

@berndverst I just created a PR with the proposal.

@artursouza artursouza modified the milestones: v1.11, v1.12 Apr 25, 2023
@mukundansundar mukundansundar modified the milestones: v1.12, v1.13 Sep 20, 2023
@JoshVanL JoshVanL mentioned this issue Nov 2, 2023
31 tasks
@elena-kolevska
Copy link
Contributor

/assign

@cicoyle
Copy link
Contributor

cicoyle commented Jan 4, 2024

/assign

@cicoyle
Copy link
Contributor

cicoyle commented Jan 4, 2024

Pubsub api error standardization PR is open 👍🏻

@mukundansundar
Copy link
Contributor

mukundansundar commented Feb 8, 2024

moving overarching tracking issue to 1.14 and added linked merged PRs (#7257, #7322) into 1.13.

@mukundansundar mukundansundar modified the milestones: v1.13, v1.14 Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 pinned size/L 3 weeks of work
Projects
Status: Assigned - P1
Development

No branches or pull requests

6 participants