PDA

View Full Version : Think there's a V2 api problem


Andy
26-06-09, 12:55
Hi

Ive been using the V2 api to get some merchant data, today I noticed it hasn't been working correctly.

Ive checked my code, which did used to work (last confirmable process was on the 18th

This code:


$aGetMetaData = array(
'aMerchantIds' => $arrayOfAllMyMerchantIds
);
$oResponse = $oClient->call('getMerchant', $aGetMetaData);
print('<pre>');
print_r($oResponse);
print('</pre>');
Is returning:
SoapError Object
(
[sCode] => SOAP-ENV:Server
[sString] => SOAP-ERROR: Encoding: object hasn't 'sDisplayUrl' property
[sDetails] => getMerchant:
)


I'm not trying to get sDisplayUrl anywhere in that code, so I have to assume it's coming from your server.

Cheers :D

Ollie
26-06-09, 14:04
Hi Andy,

I am having problems recreating this error on my end. Could you PM me your merchant list please so i can look into this further?

The error message would suggest that the API is not returning the sDisplayUrl which is causing this SOAP error to occur.

Unfortunately without being able to recreate it I am of little help.

Cheers

Andy
26-06-09, 15:51
PM Sent Ollie
Cheers

Ollie
26-06-09, 17:29
Hi Andy,

Cheers for the PM!

I have managed to recreate this problem but only on the AffiliateService API. Is this the API you meant?

I have submitted a priority support request and this should be fixed asap within the AffiliateService API. Unfortunately this issue occurs when a merchant integration is missing key data. Its a situation that should not occur but occasionally does. Key systems such as ProductServe should be unaffected and this issue is on the backlog to ensure it does not happen again.

Cheers

Ollie
26-06-09, 17:38
This should now be fixed :)

Let me know if you find any errors

Cheers