---
title: Redirect URI invalid
summary: Code: redirecturiinvalid
section: errors
order: 70
---
# Redirect URI invalid

Code: `redirect_uri_invalid`

- HTTP status: 400 Bad Request
- Shown to the end user: Redirect URI invalid

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 redirect URI submitted to the admin API is not allowed: it is not https, not http on loopback, not a reverse-domain private-use scheme, or it carries a fragment or credentials.

## Fix

Use https://, http://127.0.0.1 or http://localhost for local development, or a reverse-domain scheme such as com.example.app:/callback. Remove any #fragment. The problem detail gives the index of the offending URI in redirect_uris.

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