---
title: Destination is not a public URL
summary: Code: destinationnotpublic
section: errors
order: 29
---
# Destination is not a public URL

Code: `destination_not_public`

- HTTP status: 400 Bad Request
- Shown to the end user: Destination is not a public URL

Request-specific detail for this error goes to the app or developer (API response, developer view, logs). The public page shows only the short message and the code.

## Cause

A webhook, back-channel logout, jwks_uri or federation URL is plain http, names localhost, or points at a private, loopback or link-local address. Hosted Tessera reaches only public https destinations for workspaces and has no allow list for them.

## Fix

Use a public https URL: a deployed URL, or a public tunnel to your machine (for example cloudflared) while you integrate.

[All error codes](/errors/index.md)
