A couple of things to try:
- Double check your URL, make sure you didn't accidentally clip off a character at the start of end of key (most common cause of this issue). Also check that there aren't any characters from the placeholder text, like the curly braces.
- Try the key with a different service, like one of the search APIs. I see you are trying to use the map data upload API which is part of the Azure Maps Creator platform, and I believe it has more complexities around data access and security. Generally, shared key based auth shouldn't be used with anything that does a "write" operation.