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.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.