Hi @Letian Xu ],
thanks for bringing this to our attention. this sounds like an authentication/ authorization issue based on the error message you shared. to troubleshoot this issue you can:
- Make sure that you have correctly configured your Communication Services resource and obtained the required credentials, such as the Azure Communication Services connection string or access token. Make sure you are using the correct credentials in your Postman request.https://learn.microsoft.com/en-us/azure/communication-services/concepts/authentication
- Double-check that you are using the correct endpoint and request URL in your Postman request. The endpoint should be in the format
https://<your-resource-name>.communication.azure.com/
, and the request URL should be in the format/<api-version>/communications/send
. - Ensure that your Postman request includes the correct headers, including the
Authorization
header with your access token, theContent-Type
header set toapplication/json
, and thex-ms-content-type
header set tomultipart/mixed
.
Hope that helps.
Best, Grace