SIP
Simular Resposta 430 Flow Failed
The specific flow to a user agent has failed but other flows may succeed. Used with SIP outbound (RFC 5626).
Ver referência completa →1 Resposta HTTP
HTTP/1.1 430 Flow Failed
Content-Type: application/json
Date: Tue, 25 Feb 2026 12:00:00 GMT
Content-Length: 50
{
"error": "flow_failed",
"message": "Flow Failed"
}
2 Testar com curl
curl -i https://httpbin.org/status/430
3 Retornar 430 Flow Failed no Seu Framework
django
from django.http import JsonResponse
def my_view(request):
return JsonResponse(
{"error": "flow_failed", "message": "Flow Failed"},
status=430,
)
flask
from flask import Flask, jsonify
app = Flask(__name__)
@app.route("/endpoint")
def my_endpoint():
return jsonify({"error": "flow_failed", "message": "Flow Failed"}), 430
fastapi
from fastapi import FastAPI
from fastapi.responses import JSONResponse
app = FastAPI()
@app.get("/endpoint")
def my_endpoint():
return JSONResponse(
content={"error": "flow_failed", "message": "Flow Failed"},
status_code=430,
)
express.js
// Express.js
app.get('/endpoint', (req, res) => {
res.status(430).json({"error": "flow_failed", "message": "Flow Failed"});
});
spring boot
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import java.util.Map;
@RestController
public class MyController {
@GetMapping("/endpoint")
public ResponseEntity<Map<String, Object>> myEndpoint() {
return ResponseEntity
.status(430)
.body(Map.of("error", "flow_failed",
"message", "Flow Failed"));
}
}
go net/http
package main
import (
"encoding/json"
"net/http"
)
func myHandler(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json")
w.WriteHeader(430)
json.NewEncoder(w).Encode(map[string]string{
"error": "flow_failed",
"message": "Flow Failed",
})
}
ruby on rails
class MyController < ApplicationController
def my_action
render json: {"error": "flow_failed", "message": "Flow Failed"},
status: :flow_failed
end
end
asp.net core
// ASP.NET Core Minimal API
app.MapGet("/endpoint", () =>
Results.Json(
new { error = "flow_failed", message = "Flow Failed" },
statusCode: 430
)
);