I was trying to create a new product but some weird problem happened and it simply gave me this error:
Invalid data given. Details in error message.
Which was generated by $e -> getMessage() from this snippet:
try {
$result = $proxy -> call($sessionId, $api, $parameters);
return $result;
} catch (SoapFault $e) {
echo '<p style="color:red;">'.$e -> getMessage().'</p>';
return false;
}
So where is this “error message”? Thanks!
All Magento log files and reports are placed in the
var/sub directories, these are :Also check if the configuration is set to output messages in log files ( in System / Configuration / Developer ).