The below error comes up in Magento when the file maintenance.flag exist in your Magento root directory.
protected 'body' => string 'Service temporary unavailable' (length=29)
So if you see this file then remove it. After this you shouldn't be seen this error again.
Thank you for your response Ravindra,
I don't have this file in my magento. This file is used for put magento in maintenance mode so I do not think the problem is due to that at all
Check this out, problem seems similar to yours.
Beside this, make your that all required fields like
etc are defined as object, not array while posting product data to Magento. Let me know the result.
I see the post that you comment me but the solution that the post say not is valid for me.
I want add the products use the zend oauth method and not the way the publication indicates that it is OAuth.
I have tried to add products into magento using SOAP and REST OAuth and the 2 ways function very well. But now I want use the zend OAuth method.