<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Connect GitHub using API error in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Connect-GitHub-using-API-error/m-p/2235746#M33422</link>
    <description>&lt;P&gt;Did you go through all these steps?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.github.com/en/rest/guides/basics-of-authentication" target="_blank"&gt;Basics of authentication - GitHub Docs&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Dec 2021 14:20:39 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2021-12-13T14:20:39Z</dc:date>
    <item>
      <title>Connect GitHub using API error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Connect-GitHub-using-API-error/m-p/2230787#M33376</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need to connect GitHub to Power BI using the API. As Power BI connector doesn't give a lot of information, specifically pull requests reviewers. And I'm wondering if it's or Power BI, or I have not enough rights, or something else?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm receiving error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Web.Contents failed to get contents from '&lt;A href="https://api.github.com/repos/owner/repo/pulls?state=all" target="_blank"&gt;https://api.github.com/repos/owner/repo/pulls?state=all&lt;/A&gt;' (404): Not Found&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My source code:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Source = Web.Contents("&lt;A href="https://api.github.com/repos/owner/repo/pulls?state=all" target="_blank"&gt;https://api.github.com/repos/owner/repo/pulls?state=all&lt;/A&gt;", [ApiKeyName="xxxxxxxx"])&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;in&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Source&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 16:20:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Connect-GitHub-using-API-error/m-p/2230787#M33376</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-09T16:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Connect GitHub using API error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Connect-GitHub-using-API-error/m-p/2233398#M33396</link>
      <description>&lt;P&gt;This seems to work. Did you specify the owner and repo names?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = Json.Document(Web.Contents("https://api.github.com/repos/migueesc123/PowerBIRESTAPI/pulls?state=all")),
    #"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
    #"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table", "Column1", {"url", "id", "node_id", "html_url", "diff_url", "patch_url", "issue_url", "number", "state", "locked", "title", "user", "body", "created_at", "updated_at", "closed_at", "merged_at", "merge_commit_sha", "assignee", "assignees", "requested_reviewers", "requested_teams", "labels", "milestone", "draft", "commits_url", "review_comments_url", "review_comment_url", "comments_url", "statuses_url", "head", "base", "_links", "author_association", "auto_merge", "active_lock_reason"}, {"url", "id", "node_id", "html_url", "diff_url", "patch_url", "issue_url", "number", "state", "locked", "title", "user", "body", "created_at", "updated_at", "closed_at", "merged_at", "merge_commit_sha", "assignee", "assignees", "requested_reviewers", "requested_teams", "labels", "milestone", "draft", "commits_url", "review_comments_url", "review_comment_url", "comments_url", "statuses_url", "head", "base", "_links", "author_association", "auto_merge", "active_lock_reason"})
in
    #"Expanded Column1"&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:53:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Connect-GitHub-using-API-error/m-p/2233398#M33396</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-12-10T22:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Connect GitHub using API error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Connect-GitHub-using-API-error/m-p/2235387#M33414</link>
      <description>&lt;P&gt;Yes, of course, I specified owner and repo.&lt;/P&gt;&lt;P&gt;Can it be caused because of the fact that my owner is organization and repository is private? Maybe there are some other attributes needed to connect to such type of repository?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 11:02:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Connect-GitHub-using-API-error/m-p/2235387#M33414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-13T11:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Connect GitHub using API error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Connect-GitHub-using-API-error/m-p/2235647#M33419</link>
      <description>&lt;P&gt;Could be.&amp;nbsp; Most likely anonymous auth wouldn't work in that case. Delete your global permissions and try a different auth method.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 13:49:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Connect-GitHub-using-API-error/m-p/2235647#M33419</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-12-13T13:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Connect GitHub using API error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Connect-GitHub-using-API-error/m-p/2235662#M33420</link>
      <description>&lt;P&gt;I was using Web API key method, and as you can see I'm specifying API Key in connection string.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 13:54:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Connect-GitHub-using-API-error/m-p/2235662#M33420</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-13T13:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Connect GitHub using API error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Connect-GitHub-using-API-error/m-p/2235746#M33422</link>
      <description>&lt;P&gt;Did you go through all these steps?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.github.com/en/rest/guides/basics-of-authentication" target="_blank"&gt;Basics of authentication - GitHub Docs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 14:20:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Connect-GitHub-using-API-error/m-p/2235746#M33422</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-12-13T14:20:39Z</dc:date>
    </item>
  </channel>
</rss>

