google Cloud scheduler create_job function error for permission om python

raise exceptions.from_grpc_error(exc) from exc
google.api_core.exceptions.PermissionDenied: 403 The principal (user or service account) lacks IAM permission "cloudscheduler.jobs.create" for the resource "projects/P_ID/locations/asia-south1" (or the resource may not exist).

i don’t know why this error occurs and permission granted on my service_key.json for cloud scheduler

how do i solve this issue

Source: Python-3x Questions

LEAVE A COMMENT