Skip to content

API: /api/v1/carriergroups/{id} returns 500 Internal Server Error #697

@omnibot-1012

Description

@omnibot-1012

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

  1. Make a GET request to /api/v1/carriergroups/6 (or any valid carrier group ID)
  2. Observe the 500 error response
curl -k -H "Authorization: bearer $DSIP_TOKEN" \
  https://$DSIP_HOST:5000/api/v1/carriergroups/6

Expected 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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions