cancel
Showing results for 
Search instead for 
Did you mean: 

Soap API create shipment returning error

Soap API create shipment returning error

Apologies, I orignally posted this in the progamming questions but realised this was the correct board afterwards 

 

Hi,

Could someone please help me with the following. Im trying to create a shipment via the soap api (salesOrderShipmentCreate) but it fails returning the error "Call to a member function getUsername() on a non-object". Apart from this call everything else Im doing seems to be working fine via the soap api. I've also tested the code creating shipments on different magento sites and it works fine so it seems the problem is just on one store. Has anyone come across this before and if so how did you fix it?

Ive read online that clearing the /var & /lock folders would fix the issue but as Im not a magento developer I wanted to get someones opinion on if that could be a possible solution?

Thanks in advance!