Symptoms

A MessageLabs-related task fails with the output as below:

MessageLabs organization with name 'XXXXXXXXXX' not found.

Cause

In MessageLabs the organization was initially created with trailing space (a space in the end of the line) in the name, then in OA the name was corrected (trailing space removed).

This can be checked in MessageLabs request and response logs:

In MessageLabs_sent.log:

< ns1:SearchCustomersRequest xmlns:ns1="http://api.messagelabs.com/2005/01/Customer">
        < ns1:Status>All< /ns1:Status>
        < ns1:Type>CustomerName< /ns1:Type>
        < ns1:Query>XXXXXXXXXX< /ns1:Query>    <=========== No Trailing space
        < ns1:ResellerId>0< /ns1:ResellerId>
< /ns1:SearchCustomersRequest>

In MessageLabs_recv.log:

< SearchCustomersResult>
   < Name>XXXXXXXXXX < /Name>                  <=========== Trailing space
..
   < State>Active< /State>
< /SearchCustomersResult>

Resolution

Add trailing space to the Organization Name in OA and resubmit the failed task.

Internal content