Azure Communication Services send email returns 400 Bad Request error:Our services aren't available right now

Pegah Meyyar 20 Reputation points
2023-05-31T09:56:58.1+00:00

I encountered a 400 Bad Request error while attempting to send an email using Azure Communication Service and following the steps mentioned in the provided link (https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/email/send-email?tabs=windows%2Caad&pivots=programming-language-java).

The error message I received is as follows:

"400 Bad Request: "<h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>"

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
1,251 questions
0 comments No comments
{count} votes

Accepted answer
  1. brtrach-MSFT 17,741 Reputation points Microsoft Employee Moderator
    2023-06-01T03:14:56.63+00:00

    @Pegah Meyyar As noted in the error message, there was a brief interruption of services today for a limited number of users. This should be resolved, and you should be able to go forward with sending your email.

    Please let us know if there are any further questions or concerns by replying to this message. We apologize for any inconvenience this may have caused.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. VasimTamboli 5,215 Reputation points
    2023-05-31T15:01:27.1666667+00:00

    @Pegah Meyyar

    To troubleshoot the issue, you can try the following steps:

    Verify the Azure Communication Services resource: Make sure that the Azure Communication Services resource you are using is in the correct state and functioning properly. You can check the resource status in the Azure portal.

    Check service health: Check the Azure Service Health dashboard or the Azure Status page to see if there are any ongoing issues or outages affecting Azure Communication Services.

    Retry after some time: As the error message suggests that the services are not available at the moment, it could be a temporary issue. You can wait for some time and then retry the operation.

    Review your code: Ensure that you have followed the code provided in the Azure Communication Services documentation accurately. Double-check the API endpoints, request payload, authentication, and any other relevant configurations.

    Contact Azure Support: If the issue persists or you need further assistance, you can reach out to Azure Support for help in troubleshooting and resolving the issue.

    Remember to provide any relevant error details, request payload, and any other information that can help the support team investigate the issue effectively.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.