Error: SMTP2GO E_ApiResponseCodes: ENDPOINT_PERMISSION_DENIED

Overview

The ‘SMTP2GO E_ApiResponseCodes.ENDPOINT_PERMISSION_DENIED’ error typically occurs when sending emails through the SMTP2GO email service. It indicates the API key you configured doesn’t have permission to send emails.

Causes

The primary cause of this error is using an API key that doesn’t have the correct permissions to send emails on your behalf.

Solution

To resolve the error, you’ll need to update the permission for your API key. To do so, log in to your SMTP2GO account, then go to Sending ยป API Keys.

Accessing the API keys section in SMTP2Go

Here, you’ll see all the API keys you’ve created. Go ahead and select the one you used to configure your SMTP plugin.

Select API key

In the overlay that appears, navigate to the Permissions tab.

Permissions tab

Then, tick the Emails option to grant the API key access to send emails on your behalf.

Emails permission in SMTP2GO

Once done, click the Save button to save your changes.

Click the Save button

That’s it! Now you know how to troubleshoot and fix the ‘SMTP2GO E_ApiResponseCodes.ENDPOINT_PERMISSION_DENIED’ error.

Would you like to test your SMTP connection to ensure it works properly? Our guide to sending a test email covers all the steps in detail.