giscus / giscus

A comment system powered by GitHub Discussions. :octocat: :speech_balloon: :gem:

Home Page:https://giscus.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Comments not being added nor loaded on private repository

gustavosmanc opened this issue · comments

Hey folks, first of all thanks for the project and all the work accomplished, it truly looks amazing.

I'm facing an issue when using giscus on a private repository. When I try to add a comment, even though the discussion is being created the comments are not being added nor loaded (in case the discussion already have comments). When I open up the network tab I can find an error on the request that is supposed to get the comments:

{"error":"Discussion not found"}

Any idea on what it could be? This is how I'm loading the script:

<script src="https://giscus.app/client.js" data-repo="{{ site.giscus.data_repo }}" data-repo-id="{{ site.giscus.data_repo_id }}" data-category="General" data-category-id="{{ site.giscus.data_category_id }}" data-mapping="pathname" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" data-input-position="bottom" data-theme="dark" crossorigin="anonymous" async></script>

P.S.: I've already double checked and the script is loading the site object variables correctly. It used to work before with that same configuration but it suddenly stopped working sometime around last month.

I have the same situation with the same error. @gustavosmanc did you find solve this problem?

Hey @hamedafarag, not yet :/