When trying to deploy an app, I got this error: “We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy.”

Issue

When trying to a deploy an app, you got the following error message but don’t know what it means: “We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy.”

Resolution

The source code of the app you attempted to deploy violates the Salesforce Acceptable Use and External-Facing Services Policy (https://www.heroku.com/policy/aup).

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support