# GitHub create gist

**URL:** <https://discourse.julialang.org/t/github-create-gist/38616>\
**Category:** General Usage\
**Created:** [May 2, 2020, 4:09pm UTC](https://discourse.julialang.org/t/github-create-gist/38616 "2020-05-02T16:09:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wikunia](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wikunia/32/2180_2.png) [@Wikunia](https://discourse.julialang.org/u/Wikunia)\
**Post date:** [May 2, 2020, 4:09pm UTC](https://discourse.julialang.org/t/github-create-gist/38616/1 "2020-05-02T16:09:31Z")

</div>

Not sure where the error is which is the reason why I ask here and not at GitHub.jl

I want to create a gist with:

```julia
using GitHub
gist_json = """
       {
         "description": "Hello World Examples",
         "public": true,
         "files": {
           "hello_world.rb": {
             "content": "class HelloWorld\n def initialize(name)\n @name = name.capitalize\n end\n def sayHi\n put
s \"Hello !\"\n end\nend\n\nhello = HelloWorld.new(\"World\")\nhello.sayHi"
           },
           "hello_world.py": {
             "content": "class HelloWorld:\n\n def __init__ (self, name):\n self.name = name.capitalize()\n \n def sayHi(self):\n print \"Hello \" + self.name + \"!\"\n\nhello = HelloWorld(\"world\")\nhello.sayHi()"
           },
           "hello_world_ruby.txt": {
             "content": "Run `ruby hello_world.rb` to print Hello World"
           },
           "hello_world_python.txt": {
             "content": "Run `python hello_world.py` to print Hello World"
           }
         }
       }
       """
create_gist(params=gist_json, auth=GitHub.authenticate("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"))

```

but I get the following error:

```julia
ERROR: Error found in GitHub reponse:
        Status Code: 404
        Message: Not Found
        Docs URL: https://developer.github.com/v3/gists/#create-a-gist
        Errors: 

```

Is this a GitHub error or a GitHub.jl error or is the error on my site?

---

<div class="post-metadata">

**Author:** ![Wikunia](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wikunia/32/2180_2.png) [@Wikunia](https://discourse.julialang.org/u/Wikunia)\
**Post date:** [May 2, 2020, 4:22pm UTC](https://discourse.julialang.org/t/github-create-gist/38616/2 "2020-05-02T16:22:42Z")

</div>

Okay looks like it’s GitHub at least I also can’t achieve this with postman 😕
