403 - Character Statistics API

Can anyone provide help on this strange 403 error on the “Character Statistics API”?

I play that char, I try to fetch data, every day. So there must be data. So only forum entry that matches the problem I find does not apply here: " Character Profile API returns BLZWEBAPI00000403".

I can’t get data from the API on hxxps://develop.battle.net/documentation/world-of-warcraft/profile-apis I always get 403

{
    "code": 403,
    "type": "BLZWEBAPI00000403",
    "detail": "Forbidden"
}

If I use the API testpage or my App, I get always the same error 403 which does not help me to find the problem.

I used my ClientID and my ClientSecret. Ayone a hint where to search for the problem?

Example:
hxxps://eu.api.blizzard.com/profile/wow/character/arygos/charname/statistics?namespace=profile-de&locale=de_DE&access_token=MySecretToken

There is no namespace profile-de, Use profile-eu. Namespaces and locales are two different things.

Ok, I coldunt find any info on the ralmpug and profile settings that exist in documentation.

The error message does not imply “404” or other defined 4xx. but “403” which never lead me to think wrong data send with this profile-de.

  1. use profile-eu
  2. lowercase names and realmname
  3. use “-” instead of spaces in realmname, and remove special chars . e.g. “Sen’jin” → “senjin”. “Der Rat von Dalaran” → “der-rat-von-dalaran”

Then it worked as expected.

So I am one step further.