Importing Action - error: Custom action permissions are needed

(imported topic written by SystemAdmin)

I’m trying to import an action using the Platform API, and I’m receiving the following error:

BESAPI.XMLImporter.ImportFile error: Custom action permissions are needed to create actions.

However, I believe my user has custom action permissions. When I run the following in the presentation debugger:

(name of it, custom content flag of it) of explicit owners of bes custom site whose (name of it is “siteName”)

I see my user and the custom content flag is set to “True”

I’ve tried a couple different ways to import the file.

  1. I have a perl script based on one of the examples in the API Reference. The relevant code here is:

my $xmlImporter = BESAPI->new( “XMLImporter”, $server );

my $ids = $xmlImporter->ImportFile( $besFile, $customSite, $username,

$password );

print "IDs: " . join( " ", @$ids ) . “\n”;

For testing purposes, I’m using a bes file that’s an export of an action I made in the console.

  1. I also tried using XMLImporter’s ImportAction method:

my $actionID = $xmlImporter->ImportAction( $actionXMLDocument->XML(), $targetXMLA, $fixlet->SiteID(), $fixlet->FixletID(), $username, $password);

And I get the same error: BESAPI.XMLImporter.ImportAction error: Custom action permissions are needed to create actions.

Am I doing something wrong in these scripts? Do I need a permission other than the ones I checked for? (site ownership and custom content flag)

(imported comment written by SystemAdmin)

I should add that I have also tested with the BESImportFile-1.2 exe from IBM and receive the same error, so I don’t think it’s a problem with my scripts.

(imported comment written by chndrcks)

I’m wondering if anyone had any thoughts on this or could verify whether it had been fixed in version 9.