added oauth error messages returns for an API call
Merge branch 'develop'