-
-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Labels
Description
Description
The API endpoint /api/v1/carriergroups/{id} returns a 500 Internal Server Error when trying to fetch a specific carrier group by ID.
Steps to Reproduce
- Make a GET request to
/api/v1/carriergroups/6(or any valid carrier group ID) - Observe the 500 error response
curl -k -H "Authorization: bearer $DSIP_TOKEN" \
https://$DSIP_HOST:5000/api/v1/carriergroups/6Expected Behavior
Should return the specific carrier group:
{
"data": [{
"gwgroupid": 6,
"gwlist": "46,47,48,49",
"name": "VoIP Innovations Outbound Conversational CarrierGroup"
}],
"msg": "Carrier group found"
}Actual Behavior
Returns 500 Internal Server Error:
<!doctype html>
<html lang=en>
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error...</p>Workaround
Currently working around this in dsiprouter-cli by fetching all carrier groups and filtering client-side.
Environment
- Tested on: demo.dsiprouter.net
- Date: 2026-02-11
Related
- dsiprouter-cli workaround: https://github.com/dOpensource/dsiprouter-cli/commit/81b5977
Reactions are currently unavailable