Trying to post a simple message with URL: https://oauth-cpaas.att.com/smsmessaging/v1/{userId}/outbound/{senderAddress}/request.
When I submit the request it responds with HTTP 400 Bad Request and I’m guessing the %1 value represents the first variable {userId}.
{
“requestError”: {
“serviceException”: {
“messageId”: “SVC0002-a7c0cfb03268ebb4de2d8f51ab82195d”,
“text”: “Invalid input value for message part %1”,
“variables”: [
“url”
]
}
}
}
The examples say the “userId” field is the “preferred_username” located in either the access_token or id_token fields from the authorization request. The examples also show that the value represents a string like UUID but the value returned in my authorization request looks like “z2u17xTMBYv3YGdf”.