Hi Divya
I faced the same issue and it was because i didn't enable billing in the cloud console.
Refer to this document it will go through all the steps to call the Vision API (https://codelabs.developers.google.com/codelabs/cloud-vision-intro/index.html?index=..%2F..cloudai#0)