I am retrieving a list of users via the v1/orgs/{org_id}/users/search API.
From that list I extract the accountId and with that call the API
"https://api.atlassian.com/users/"+accountId+")}/manage/profile".
And I get the following answer:
{ "context": { "message": "Request validation failed: Parameter (accountId) does not match required pattern: ^[a-zA-Z0-9_|:-]{1,128}$", "paramName": "accountId", "path": "paths->/users/{accountId}/manage/profile->get->parameters->0" }, "errorDetail": { "message": "Request validation failed: Parameter (accountId) does not match required pattern: ^[a-zA-Z0-9_|:-]{1,128}$", "paramName": "accountId", "path": "paths->/users/{accountId}/manage/profile->get->parameters->0" }, "errorKey": "bad-request-format", "key": "badRequestFormat" }
How can the accountId retrieved via API not be correct?