> ## Documentation Index
> Fetch the complete documentation index at: https://developers.authlete.com/llms.txt
> Use this file to discover all available pages before exploring further.

# error_description の日本語化

> error_description の日本語化方法について述べられています。

# error\_description の日本語化

RFC 6749 で定義されている error\_description は、使える文字列が指定されています。\
[https://tools.ietf.org/html/rfc6749#section-5.2](https://tools.ietf.org/html/rfc6749#section-5.2)

よって、お客様に実装いただく認可サーバーにおいて、error\_description を日本語化した場合、厳密には仕様違反となってしまいます。

仕様に準拠しながら日本語化を行う方法としては、error\_uri を用いて間接的に日本語のエラーを示す方法があります。以下概略となります。1. error\_description を日本語化し、お客様の認可サーバー配下のWebページ等に掲載する
2\. 次に、Authlete API が返す error\_uri を上記ウェブサイトへのリンクに書き換える
