# Include error

**URL:** https://discourse.julialang.org/t/include-error/50753
**Category:** General Usage
**Created:** [November 25, 2020, 2:19pm UTC](https://discourse.julialang.org/t/include-error/50753 "2020-11-25T14:19:12Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![dillamarcos](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@dillamarcos](https://discourse.julialang.org/u/dillamarcos)
#### Post date: [November 25, 2020, 2:19pm UTC](https://discourse.julialang.org/t/include-error/50753/1 "2020-11-25T14:19:12Z")

</div>

Hey guys I started using Julia today to apply in some exercises. I’ve tried to use the include function and I’m getting this error:

 ![error](https://global.discourse-cdn.com/julialang/original/3X/d/3/d3480e17a2b1d42a60fa7222dd2d038688c76026.png)

Can anyone help me with understanding what I am doing wrong? I thought that since I’m working on the same directory the dataset is in, I just needed to use the include function and it would all right.

---

<div class="post-metadata">

### Author: ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)
#### Post date: [November 25, 2020, 2:21pm UTC](https://discourse.julialang.org/t/include-error/50753/2 "2020-11-25T14:21:57Z")

</div>

The problem is not the include function, it is the content of the file you try to include. If you read the stacktrace you see that it complains about the first line of your file, so would be helpful if you could post that too.

Here are some examples where you get that error message though, so maybe look for something like this:

```julia
julia> {}
ERROR: syntax: { } vector syntax is discontinued around REPL[2]:1
Stacktrace:
 [1] top-level scope at REPL[2]:1

julia> {1, 2, 3}
ERROR: syntax: { } vector syntax is discontinued around REPL[3]:1
Stacktrace:
 [1] top-level scope at REPL[3]:100

```

---

<div class="post-metadata">

### Author: ![tanker1234](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tanker1234/32/32290_2.png) [@tanker1234](https://discourse.julialang.org/u/tanker1234)
#### Post date: [December 29, 2021, 10:39pm UTC](https://discourse.julialang.org/t/include-error/50753/3 "2021-12-29T22:39:04Z")

</div>

Hi, I am having the same issue, using Julia 1.7.  
No matter the file, the include always throw the vector syntax error. Any idea??

---

<div class="post-metadata">

### Author: ![Henrique\_Becker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/henrique_becker/32/15443_2.png) [@Henrique\_Becker](https://discourse.julialang.org/u/Henrique_Becker)
#### Post date: [December 30, 2021, 2:53am UTC](https://discourse.julialang.org/t/include-error/50753/4 "2021-12-30T02:53:06Z")

</div>

Even if the file has no `{}` inside itself?

---

<div class="post-metadata">

### Author: ![tanker1234](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tanker1234/32/32290_2.png) [@tanker1234](https://discourse.julialang.org/u/tanker1234)
#### Post date: [December 30, 2021, 6:13pm UTC](https://discourse.julialang.org/t/include-error/50753/5 "2021-12-30T18:13:46Z")

</div>

Thanks for your quick reply.  
I found the file saved from Jupyter contains the {} in JSON format.  
When I use another editor, it works.

Sorry for bothering you.

---

<div class="post-metadata">

### Author: ![valperez](https://avatars.discourse-cdn.com/v4/letter/v/e79b87/32.png) [@valperez](https://discourse.julialang.org/u/valperez)
#### Post date: [January 27, 2022, 2:22am UTC](https://discourse.julialang.org/t/include-error/50753/6 "2022-01-27T02:22:42Z")

</div>

Hi there,

Could you explain more how do you fixed it? I’m having the same problem
