Not Supported (not_supported)
Quick Fix & Resolution
Check the endpoint's URI template in GET / _links for supported parameters.
Response Payload & SDK Handling
json
{
"type": "https://orion.stellarchain.io/horizon-errors/not_supported",
"title": "Not Supported",
"status": 400,
"detail": "The requested operation or parameter combination is not supported."
}typescript
import { Horizon } from '@stellar/stellar-sdk';
const server = new Horizon.Server('https://pubnet.stellarchain.io');
try {
const res = await server.ledgers().limit(10).call();
} catch (err: any) {
const problem = err?.response?.data;
if (problem?.type === 'https://orion.stellarchain.io/horizon-errors/not_supported') {
console.error('[not_supported] HTTP 400:', problem.detail, problem.extras);
}
}go
client := &horizonclient.Client{
HorizonURL: "https://pubnet.stellarchain.io",
}
_, err := client.Root()
if hErr := horizonclient.GetError(err); hErr != nil {
if hErr.Problem.Status == 400 {
log.Printf("Problem (%s): %s - extras=%v", hErr.Problem.Type, hErr.Problem.Detail, hErr.Problem.Extras)
}
}bash
curl -i -s "https://pubnet.stellarchain.io/" \
-H "Accept: application/hal+json"Common Root Causes
- Requesting an unsupported filter combination or legacy protocol option.