I think you hit the same issue that I was struggling. Make sure that you have set referer={I use app name here} in the request.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.