Title: Export to GitHub failed with error: Method GET to endpoint https://github.com/
Last modified: November 12, 2018

---

# Export to GitHub failed with error: Method GET to endpoint https://github.com/

 *  Resolved [teamphpyouth](https://wordpress.org/support/users/teamphpyouth/)
 * (@teamphpyouth)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/export-to-github-failed-with-error-method-get-to-endpoint-https-github-com/)
 * Export to GitHub failed with error: Method GET to endpoint [https://github.com/Phpyouth/repos/Phpyouth/Phpyouth.github.io/git/refs/heads/master](https://github.com/Phpyouth/repos/Phpyouth/Phpyouth.github.io/git/refs/heads/master)
   failed with error: Unknown error
 * I am getting this error when i try to **Export to GitHub**.
    I have created a
   token with public_repo scope and filled every field correctly. Still I am getting
   this error.
 * My Repository is Phpyouth/Phpyouth.github.io
    [https://github.com/Phpyouth](https://github.com/Phpyouth)
 * Please check this
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexport-to-github-failed-with-error-method-get-to-endpoint-https-github-com%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [James DiGioia](https://wordpress.org/support/users/jamesdigioia/)
 * (@jamesdigioia)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/export-to-github-failed-with-error-method-get-to-endpoint-https-github-com/#post-10872986)
 * You changed the GitHub hostname. It should be: [https://api.github.com](https://api.github.com)–
   only change this if you’re using GitHub Enterprise.

Viewing 1 replies (of 1 total)

The topic ‘Export to GitHub failed with error: Method GET to endpoint https://github.
com/’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-github-sync.svg)
 * [WordPress GitHub Sync](https://wordpress.org/plugins/wp-github-sync/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-github-sync/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-github-sync/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-github-sync/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-github-sync/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-github-sync/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [James DiGioia](https://wordpress.org/support/users/jamesdigioia/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/export-to-github-failed-with-error-method-get-to-endpoint-https-github-com/#post-10872986)
 * Status: resolved