Skip to content

is it support GitHub Enterprise #27

@raghavgupta0

Description

@raghavgupta0

is it support GitHub Enterprise [self hosted URL]

I'm getting below error

Running on DEBUG mode
Traceback (most recent call last):
File "/app/exporter.py", line 67, in
get_workflow_run_by_run_id = do_fastcore_decode(api.actions.get_workflow_run(WORKFLOW_RUN_ID))
File "/usr/local/lib/python3.10/site-packages/ghapi/core.py", line 74, in call
return self.client(self.path, self.verb, headers=headers, decode=self.decode, route=route_p, query=query_p, data=data_p)
File "/usr/local/lib/python3.10/site-packages/ghapi/core.py", line 133, in call
res,self.recv_hdrs = urlsend(path, verb, headers=headers or None, decode=decode, debug=debug, return_headers=True,
File "/usr/local/lib/python3.10/site-packages/fastcore/net.py", line 221, in urlsend
return urlread(req, decode=decode, return_json=return_json, return_headers=return_headers, timeout=timeout)
File "/usr/local/lib/python3.10/site-packages/fastcore/net.py", line 122, in urlread
if 400 <= e.code < 500: raise ExceptionsHTTP[e.code](e.url, e.hdrs, e.fp, msg=e.msg) from None
fastcore.net.HTTP401UnauthorizedError: HTTP Error 401: Unauthorized
====Error Body====
{
"message": "Bad credentials",
"documentation_url": "https://docs.github.com/rest",
"status": "401"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions