2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ソフトバンク端末の WJ46053E エラー対応

2
Posted at

事象について

ソフトバンクの一部Android端末(AQUOS PHONE 104SH、GALAPAGOS 003SH)で、

エラーが発生しました。リクエストが不正です。 (WJ46053E)

というエラーが発生するケースがありました。主な原因はレスポンスデータに誤りがある、とのこと。

原因

自分が直面したケースでは、BASIC認証でレスポンスヘッダにContent-typeの指定がないときに発生しました。ダメなのか・・・。
Node.jsのexpress.basicAuthを利用すると、レスポンスヘッダにはContent-typeが含まれないので注意が必要です。自分で明示的にsetHeaderでContent-typeを指定しましょう。

ちなみに、他のキャリアやソフトバンクの他の端末では今のところ現象は確認出来てないです。

2
2
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?