Changed `not.authorized` error key to `error.not.authorized`