Check out example codes for "code:403 google sheet api". It will help you in understanding the concepts better.

Code Example 1

{
  "error": {
    "code": 403,
    "message": "The caller does not have permission",
    "status": "PERMISSION_DENIED"
  }
}

Learn ReactJs, React Native from akashmittal.com