Article ID: 124149, created on Jan 7, 2015, last review on Jul 22, 2016

  • Applies to:
  • Operations Automation

Symptoms

A SpamExperts-related task in OA task manager fails with an error like below:

Task name               APS application 'SpamExperts Integration', id 101, instance 10001 ->     service 'context', instance 10001: executing configuration script
Last execution output   
Execution of configuration script for instance with id 10001 of service with id context of instance with id 10001 of application with id 101 failed - returned value: -1 output: '' errors: '[Domains] Redirecting configure request to install handler...
[Domains] Install Start
Checking all currently assigned domains in subscription..
Requesting current MX record for 'domain.com'
Adding route 'av.provider.com' to the collection of MX records.
Adding route 'mx-backup.provider.com' to the collection of MX records.
Cleaning up array.
Returning multiple custom MX records
Requesting current MX record for 'domain.tld'
Checking for 'DNS_MX1_SUBSTITUTE_domain.tld'...
Checking for global 'DNS_MX1_SUBSTITUTE'...
Returning global MX record
Comparing old with new domains.
Processing all new domains.
Creating domain 'domain.com' with email: 'support@domain.com' and destination: 'Array'
Requesting 'domain.com' to be added to the spamfilter (destination: 'Array').
addDomain Data: {"domain":"domain.com","destinations":["av.provider.com","mx-backup.provider.com"]}
[API]IDN encoding values for 'domain'
[API]Converting value for 'destinations' to an JSON array
[API]Going to call: http://s1-se.provider.com/api/domain/add/format/json/domain/domain.com/destinations/%5B%22av.provider.com%22%2C%22mx-backup.provider.com%22%5D
[HTTP]Going to request 'http://s1-se.provider.com/api/domain/add/format/json/domain/domain.com/destinations/%5B%22av.provider.com%22%2C%22mx-backup.provider.com%22%5D'
[HTTP]Doing authenticated HTTP request with username 'poaaps'
[HTTP]Using normal password'
[HTTP]Responsecode: 200
[API]Returned errors: a:2:{i:0;s:22:"Domain already exists.";i:1;s:35:"Failed to add domain 'domain.com'";}
[API]Unhandled API error
[API]Unhandled API error
Adding domain 'domain.com' to antispam has failed
Domain 'domain.com' could not be added.
The subscription has (partially) failed. Unable to proceed!

Another possible error is:

[API]Returned errors: a:2:{i:0;s:66:"The domain you're trying to add (domain.com) is already exists";i:1;s:37:"Failed to add domain 'domain.com'";}

Cause

Domain already exists in SpamExperts Control Panel, such errors could appear if it was manually added to SpamExperts.

Resolution

Remove the 'domain.com' domain from SpamExperts panel or contact SpamExperts support for assistance. After that re-submit the failed task.

Search Words

Internal error: void Plesk::EnvironmentHosting::handleSettingsReturnedInScriptExecutionOutput(TObjectID, Plesk::EnvironmentHosting::ScriptStructuredOutput&) : Invalid values returned by script for settings of service instance with id 77561: Invalid value passed for setting 'domains': The "List of domains" setting values 'apexlearningsolutions.com', 'evolutionelearning.com', 'moodle.apexlearningsolutions.com' are already in use. Please provide unique values.:Invalid value passed for setting 'domains': The "List of domains" setting values 'apexlearningsolutions.com', 'evolutionelearning.com', 'moodle.apexlearningsolutions.com' are already in use. Please provide unique values..

Redirecting configure request to install handler

APS

Uncaught exception 'Exception' with message 'Unable to process API response, not in expected format: {"messages":{"notice":["<strong>WARNING! The MX records of '8096.nl' are already pointing to your antispam cluster, due to this we're unable to detect which destination host should be used. We will add the domain into the filter but we can only set the destination hosts to the default values. To get the domain functioning properly, you'll have to change the destination hosts for this domain.

adding domains to SpamExperts

Domain already exists.

add domain to spam experts

Failed to add domain

The domain you're trying to add (whiteiceweddingband.ie) already exists"; i:1; s:45:"Failed to add domain 'whiteiceweddingband.ie'"; }

The domainnames to login for.': The "List of domains" setting value

The domain you're trying to add is already exists

caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae

Email subscription for changes to this article
Save as PDF