# Error with JLD2 load function

**URL:** <https://discourse.julialang.org/t/error-with-jld2-load-function/114495>\
**Category:** New to Julia\
**Tags:** question, jld2\
**Created:** [May 21, 2024, 7:51am UTC](https://discourse.julialang.org/t/error-with-jld2-load-function/114495 "2024-05-21T07:51:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kreetta\_Hamalainen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kreetta_hamalainen/32/206169_2.png) [@Kreetta\_Hamalainen](https://discourse.julialang.org/u/Kreetta_Hamalainen)\
**Post date:** [May 21, 2024, 7:51am UTC](https://discourse.julialang.org/t/error-with-jld2-load-function/114495/1 "2024-05-21T07:51:18Z")

</div>

Hi all,

New to Julia, and don’t quite know where to start with this error. Happens when trying to reload all parameters including ODE related parameters with JLD2 load() function.

_Fatal error:_

_ERROR: LoadError: MethodError: no method matching Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}()_

Shortned the error for ease of reading, but I just can’t figure out how to load my parameters back in. The save seemed to work out fine, yet now I can’t access what was saved…

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [May 21, 2024, 8:01am UTC](https://discourse.julialang.org/t/error-with-jld2-load-function/114495/2 "2024-05-21T08:01:29Z")

</div>

Could you show us the following?

1. The code you used to save the parameter.
2. The code that you used to load the parameters.
3. The full error stack trace.

If you could please include the code and full error stack trace in triple backticks as follows.

````julia
```
# Place your code here
```

````
