teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

ソースの追加

2019/06/22 16:21

投稿

dauto
dauto

スコア38

title CHANGED
File without changes
body CHANGED
@@ -1,13 +1,14 @@
1
1
  ### 前提・実現したいこと
2
2
 
3
3
  現在私はアプリ側にionic、バックエンドにLaravelを使用してログイン機能を実装しようとしているのですが、ブラウザでテストをすると422エラーが出力されます。
4
- [こちらの記事](https://blog.flicher.net/laravel-rest-api-passport-authentication-for-ionic-app/)を参考に実装したのですが、何処を修正すればいいのでしょうか。
4
+ [ionic側の記事](https://blog.flicher.net/ionic-4-user-registration-login-tutorial/)と[バックエンドの記事](https://blog.flicher.net/laravel-rest-api-passport-authentication-for-ionic-app/)を参考に実装したのですが、何処を修正すればいいのでしょうか。
5
5
 
6
6
  ### 発生している問題・エラーメッセージ
7
7
 
8
8
  ```
9
9
  POST http://ドメイン/Laravel-ionic/public/api/auth/register 422 (Unprocessable Entity)
10
10
  ```
11
+ ChromeのデベロッパーツールのNetworkにあった詳細なエラーメッセージ
11
12
 
12
13
  ```
13
14
  {message: "The given data was invalid.", errors: {email: ["The email has already been taken."]}}