logo头像

小时候,哭是我们解决问题的绝招。长大后,笑是我们面对现实的武器。

gRPC Status and HTTP Code Relation

  • Status.INVALID_ARGUMENT [400]
  • Status.OK [200]
  • Status.CANCELLED [408]
  • Status.UNKNOWN [500]
  • Status.DEADLINE_EXCEEDED [408]
  • Status.NOT_FOUND [404]
  • Status.ALREADY_EXISTS [409]
  • Status.PERMISSION_DENIED [403]
  • Status.RESOURCE_EXHAUSTED [403]
  • Status.FAILED_PRECONDITION [412]
  • Status.ABORTED [409]
  • Status.OUT_OF_RANGE [400]
  • Status.UNIMPLEMENTED [501]
  • Status.INTERNAL [500]
  • Status.UNAVAILABLE [503]
  • Status.DATA_LOSS [500]
  • Status.UNAUTHENTICATED [401]