You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When using the python sdk to retrieve job details ocassionally when retrieving the job details or the job acls I get the error. Even though I am a workspace admin. If I retry a few moments later most of the time it starts working again. I have added a retry to my code but even with this it occasionally persists in failing.
Exception has occurred: PermissionDenied
User [email protected] does not have Admin or Manage Run or Owner or View permissions on job 750350742608178. Config: host=https://REDACTED.azuredatabricks.net, auth_type=databricks-cli
Reproduction
import databricks.sdk as databricks
w = WorkspaceClient()
joblist = w.jobs.list()
for job in joblist:
jobobj = w.jobs.get(job.job_id)
permissions = w.jobs.get_permissions(jobobj.job_id) Expected behavior
A clear and concise description of what you expected to happen.
Is it a regression?
N/A
Debug Logs
DEBUG:urllib3.connectionpool:https://.azuredatabricks.net:443 "GET /api/2.2/jobs/get?job_id=134789678873445 HTTP/11" 403 None
DEBUG:databricks.sdk:GET /api/2.2/jobs/get?job_id=134789678873445
< 403 Forbidden
< {
< "details": [
< {
< "@type": "type.googleapis.com/google.rpc.RequestInfo",
< "request_id": "4572e565-d3b4-4061-aaba-50280482a1d4",
< "serving_data": ""
< }
< ],
< "error_code": "PERMISSION_DENIED",
< "message": "User @ does not have Admin or Manage Run or Owner or View permissions on ... (19 more bytes)"
< }
Other Information
OS: Windows 11
Version: 0.50.0
As you can see I am admin in the workspace.
The text was updated successfully, but these errors were encountered:
Description
When using the python sdk to retrieve job details ocassionally when retrieving the job details or the job acls I get the error. Even though I am a workspace admin. If I retry a few moments later most of the time it starts working again. I have added a retry to my code but even with this it occasionally persists in failing.
Exception has occurred: PermissionDenied
User [email protected] does not have Admin or Manage Run or Owner or View permissions on job 750350742608178. Config: host=https://REDACTED.azuredatabricks.net, auth_type=databricks-cli
Reproduction
import databricks.sdk as databricks
w = WorkspaceClient()
joblist = w.jobs.list()
for job in joblist:
jobobj = w.jobs.get(job.job_id)
permissions = w.jobs.get_permissions(jobobj.job_id)
Expected behavior
A clear and concise description of what you expected to happen.
Is it a regression?
N/A
Debug Logs
DEBUG:urllib3.connectionpool:https://.azuredatabricks.net:443 "GET /api/2.2/jobs/get?job_id=134789678873445 HTTP/11" 403 None
DEBUG:databricks.sdk:GET /api/2.2/jobs/get?job_id=134789678873445
< 403 Forbidden
< {
< "details": [
< {
< "@type": "type.googleapis.com/google.rpc.RequestInfo",
< "request_id": "4572e565-d3b4-4061-aaba-50280482a1d4",
< "serving_data": ""
< }
< ],
< "error_code": "PERMISSION_DENIED",
< "message": "User @ does not have Admin or Manage Run or Owner or View permissions on ... (19 more bytes)"
< }
Other Information
As you can see I am admin in the workspace.

The text was updated successfully, but these errors were encountered: