I feel like this is a ridiculously noob question, but I'm stuck so here goes...
I'm new to ESRI development and I'm following instructions for the Display a Map tutorial. However, I'm unexpectedly blocked at the Create a Map step.
When coding in either CodePen or the ArcGIS sandbox, I get the following logon prompt upon inserting the API: "Please sign in to access the item on ArcGIS Online (item)". When I put in my ArcGIS credentials, I receive an error that "The username or password you entered is incorrect". This is false. I'm currently logged into ArcGIS Online with those same credentials. I am absolutely certain that my ArcGIS logon is correct.
The issue I'm having is very similar to this one from 2020, but in my case my work is all hosted online and not run locally. This ESRI sample from that ticket works for me, but I'm not sure what that means.
There are a lot of APIs in my developer dashboard, so perhaps I'm using the wrong one? I've tried inserting the following keys, though my presumption is that the top one is what I want since that's the tutorial I'm working on.
- ArcGIS API for JavaScript
- ArcGIS Web AppBuilder
- ArcGIS Experience Builder
Any help or insight is appreciated!