# Github invalid token format

**URL:** https://forum.makecode.com/t/github-invalid-token-format/23186
**Category:** Adafruit Circuit Playground Express
**Created:** [October 9, 2023, 9:56pm UTC](https://forum.makecode.com/t/github-invalid-token-format/23186 "2023-10-09T21:56:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![CFoss](https://avatars.discourse-cdn.com/v4/letter/c/3ec8ea/32.png) [@CFoss](https://forum.makecode.com/u/CFoss)
#### Post date: [October 9, 2023, 9:56pm UTC](https://forum.makecode.com/t/github-invalid-token-format/23186/1 "2023-10-09T21:56:10Z")

</div>

Hello! When I try to create an extension for MakeCode for Adafruit Circuit Playground, I see the error “Invalid token format” when I submit the token. I checked to make sure the token is copying over correctly. I also saw [this post on the Adafruit forum](https://forums.adafruit.com/viewtopic.php?p=968211&hilit=invalid+token#p968211), which suggested trying the beta editor, so I tried the webusb editor in Chrome. That threw the same error. Any suggestions on how to resolve the issue would be much appreciated!

---

<div class="post-metadata">

### Author: ![Vegz78](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/vegz78/32/1201_2.png) [@Vegz78](https://forum.makecode.com/u/Vegz78)
#### Post date: [October 9, 2023, 10:41pm UTC](https://forum.makecode.com/t/github-invalid-token-format/23186/2 "2023-10-09T22:41:57Z")

</div>

Not sure if these are somehow related?:

> [@Why is github not showing any files?](https://forum.makecode.com/t/why-is-github-not-showing-any-files/22988):
>
> I created a project and saved it. I clicked on github icon and created a repository. I don’t see how to add any files and commit them though. I’m in blocks mode. The github button just brings back the create repository window. In github, the repos are empty.

> <https://github.com/microsoft/pxt-arcade/issues/6096>
>
> I can almost never get MakeCode to create a new repo from a project anymore. It… always takes several times of trying, nothing happening, trying again, getting a message that says "This repo already exists", deleting the emtpy repo, and trying again. 
> 
> Here's the error from the console when this happens:
> !\[Screenshot by Dropbox Capture\](https://github.com/microsoft/pxt-arcade/assets/1633958/2e81e018-2f1e-4bd6-b670-b17c6b571454)

Or maybe file a separate issue here:

> **[Issues · microsoft/pxt-adafruit](https://github.com/microsoft/pxt-adafruit/issues)**
>
> Microsoft MakeCode editor for Adafruit Circuit Playground Express - Issues · microsoft/pxt-adafruit
