I have a Magento 1.9 CE install which I am trying to access via the REST API. I keep getting the 'oauth_problem=nonce_used' error when I start the process by calling the oauth/initiate URL.
I have added some logging into the /Mage/Oauth/Model/Server.php _validateNonce method and despite what nonce I supply in the Postman request, the same nonce gets logged out. In other words, the nonce in the request disappears somehow and a previous nonce is retrieved from somewhere.
And it isn't just the nonce from the previous request. I called the oauth/initiate URL several times and the logged nonce was the same for all of them (and never the nonce passed in the request).
I'm not sure if this is a Magento thing or Apache/mod_rewrite is doing something as well.
Any thoughts much appreciated.
It was an issue with Postman rather than Magento. It wasn't updating the post data correctly.