# Common Error Responses
All Fluent Boards API endpoints may return the following standard error responses:
# 400 Bad Request
{
  "code": "rest_invalid_param",
  "message": "Invalid parameter: title is required",
  "data": {
    "status": 400
  }
}
 1
2
3
4
5
6
7
2
3
4
5
6
7
# 401 Unauthorized
{
  "code": "rest_unauthorized",
  "message": "Authentication required",
  "data": {
    "status": 401
  }
}
 1
2
3
4
5
6
7
2
3
4
5
6
7
# 403 Forbidden
{
  "code": "rest_forbidden",
  "message": "You don't have permission to access this resource",
  "data": {
    "status": 403
  }
}
 1
2
3
4
5
6
7
2
3
4
5
6
7
# 404 Not Found
{
  "code": "rest_not_found",
  "message": "Resource not found",
  "data": {
    "status": 404
  }
}
 1
2
3
4
5
6
7
2
3
4
5
6
7
# 422 Validation Error
{
  "code": "rest_invalid_param",
  "message": "Validation failed",
  "data": {
    "status": 422,
    "params": {
      "title": "Title is required"
    }
  }
}
 1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
# 500 Internal Server Error
{
  "code": "rest_server_error",
  "message": "Internal server error",
  "data": {
    "status": 500
  }
}
 1
2
3
4
5
6
7
2
3
4
5
6
7
# Error Response Format
All error responses follow this structure:
| Field | Type | Description | 
|---|---|---|
code |  string | Error code identifier | 
message |  string | Human-readable error message | 
data.status |  integer | HTTP status code | 
data.params |  object | Validation errors (422 only) | 
# Common Error Codes
rest_invalid_param- Invalid or missing parametersrest_unauthorized- Authentication requiredrest_forbidden- Insufficient permissionsrest_not_found- Resource not foundrest_server_error- Internal server error