Skip to content
This repository was archived by the owner on Oct 28, 2022. It is now read-only.

Access the enterprise github  #1

@anupamkakade

Description

@anupamkakade

Hello ,
By using this gem I am trying to access the issue data for the enterprise github. But I am getting the error and it seems this gem is accessing the public version of github.


Octokit::Unauthorized: GET https://api.github.com/repos/CIOBlueCloud/cloudteam: 401 - Bad credentials // See: https://developer.github.com/v3
	from /usr/local/rvm/gems/ruby-2.3.3/gems/octokit-4.8.0/lib/octokit/response/raise_error.rb:16:in `on_complete'
	from /usr/local/rvm/gems/ruby-2.3.3/gems/faraday-0.14.0/lib/faraday/response.rb:9:in `block in call'

I tried setting the Octokit.api_endpoint = "https://enterprise-github.com/api/v3/"
But this doesnt solve the issue

How can I access the enterprise github and enterprise zenhub using this gem ?

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