Contact Us

February 11, 2025

May 13, 2026 2:23 pm

Resolving Journey Builder Activation Issues in Salesforce Marketing Cloud

Share with

Understanding the Error

The error message indicates that the issue lies with the permissions of the Sales Cloud user. The message mentions that Author Apex permissions are required, but this alone is not sufficient. The error also references an INVALID_TYPE issue with the ApexClass sObject type, which is not directly related to the Journey Builder activation issue.

The root cause of this issue is the lack of necessary permissions for the integration user, specifically the Run Flow and Manage Force.com Flow permissions, which are required for Journey Builder to function correctly.

Step-by-Step Solution

To resolve this issue, follow these steps:

First, ensure that the integration user has the correct permissions. This includes the Author Apex permission, as well as the Run Flow and Manage Force.com Flow permissions. Next, verify that the Marketing Cloud Connector configuration is set up correctly, with the right permissions to execute a triggered send.

Additionally, make sure that triggered sends are enabled on the object that you will be using as your entry events. If you have already completed these steps and are still experiencing issues, consider using an API call to add users to a Data Extension (DE) and use that as your entrance, as suggested by Nathalie Starr.

Code Example

ApexCode.txt

// Example Apex code to add users to a Data Extension
// Note: This is a simplified example and may require modification to fit your specific use case
public class AddUsersToDE {
    public static void addUsers(List<User> users) {
        // Create a new Data Extension
        DataExtension de = new DataExtension();
        de.Name = 'MyDataExtension';
        de.Description = 'My Data Extension';
        insert de;

        // Add users to the Data Extension
        for (User user : users) {
            DataExtensionObject deo = new DataExtensionObject();
            deo.DataExtensionID = de.ID;
            deo.SetValue('EmailAddress', user.Email);
            insert deo;
        }
    }
}

Checklist

  • Ensure the integration user has Author Apex permission
  • Verify the integration user has Run Flow and Manage Force.com Flow permissions
  • Check the Marketing Cloud Connector configuration for correct permissions
  • Enable triggered sends on the object used for entry events
  • Consider using an API call to add users to a Data Extension
  • Verify that the Data Extension is correctly set up and configured
  • Test the Journey Builder activation with the corrected permissions and configuration

Frequently Asked Questions

What are the necessary permissions for Journey Builder activation?

The necessary permissions include Author Apex, Run Flow, and Manage Force.com Flow.

Can I use a custom permission set for the integration user?

Yes, you can use a custom permission set, but ensure it includes the necessary permissions for Journey Builder activation.

How do I enable triggered sends on an object?

To enable triggered sends, go to the object settings in Salesforce and check the box next to “Enable Triggered Sends”.

What is the purpose of the Data Extension in Journey Builder?

The Data Extension is used to store data for Journey Builder, such as user information and entry events.

Can I use an API call to add users to a Data Extension?

Yes, you can use an API call to add users to a Data Extension, as suggested by Nathalie Starr.

Genetrix Technology · Salesforce Marketing Cloud Partner

Need help shipping this in production?

Genetrix builds and untangles Salesforce Marketing Cloud and Agentforce setups for teams that want it done right the first time. If anything in this post sounds familiar, talk to us before it ships.

Get in Touch with Genetrix →

Blogs for the

Business-Savvy!​

Let’s Connect

A 30 min no cost strategy session
with cloud support expert

Let’s Connect

A 30 min no cost strategy session
with cloud support expert