Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments not being added nor loaded on private repository #1313

Open
gustavosmanc opened this issue Feb 6, 2024 · 2 comments
Open

Comments not being added nor loaded on private repository #1313

gustavosmanc opened this issue Feb 6, 2024 · 2 comments

Comments

@gustavosmanc
Copy link

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.

@hamedafarag
Copy link

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

@gustavosmanc
Copy link
Author

Hey @hamedafarag, not yet :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants