# Non-specific Error on Malformed gxformat2 Import

**URL:** <https://help.galaxyproject.org/t/non-specific-error-on-malformed-gxformat2-import/8692>\
**Category:** Uncategorized\
**Tags:** workflow, troubleshooting\
**Created:** [September 20, 2022, 12:27am UTC](https://help.galaxyproject.org/t/non-specific-error-on-malformed-gxformat2-import/8692 "2022-09-20T00:27:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve\_Von\_Worley](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/steve_von_worley/32/3044_2.png) [@Steve\_Von\_Worley](https://help.galaxyproject.org/u/Steve_Von_Worley)\
**Post date:** [September 20, 2022, 12:27am UTC](https://help.galaxyproject.org/t/non-specific-error-on-malformed-gxformat2-import/8692/1 "2022-09-20T00:27:28Z")

</div>

Hello! Recently, I was trying to create a gxformat2 Galaxy workflow by hand, and import the workflow file to `usegalaxy.org` via the import via “Archived Workflow URL” method . When the file was well-formed, everything went fine. However, if the file had a syntax error, the import would fail with the following error message:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/galaxy/original/2X/3/37be1a6487d461ed064ae8b4746c29b7b89e33cb.png)

Alas, this message doesn’t contain enough information to help me correct the problem(s).

Is there a way to get more details about the errors in a gxformat2 file at import time?

Thanks in advance for the help,  
Steve

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [September 20, 2022, 10:22pm UTC](https://help.galaxyproject.org/t/non-specific-error-on-malformed-gxformat2-import/8692/2 "2022-09-20T22:22:06Z")

</div>

> [@Steve\_Von\_Worley](#):
>
> gxformat2

Hi @Steve_Von_Worley

Adding in more error capture information from a failed workflow import is a good idea. Please make an issue ticket at this repository [Issues · galaxyproject/galaxy · GitHub](https://github.com/galaxyproject/galaxy/issues) and include examples if you can.

For now, these are the resources available:

- [GitHub - galaxyproject/gxformat2: Galaxy Workflow Format 2](https://github.com/galaxyproject/gxformat2)
- and this includes some basic testing [Contributing — gxformat2 0.18.0 documentation](https://gxformat2.readthedocs.io/en/latest/contributing.html#pull-request-guidelines)

---

<div class="post-metadata">

**Author:** ![mvdbeek](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/mvdbeek/32/110_2.png) [@mvdbeek](https://help.galaxyproject.org/u/mvdbeek)\
**Post date:** [September 21, 2022, 9:25am UTC](https://help.galaxyproject.org/t/non-specific-error-on-malformed-gxformat2-import/8692/3 "2022-09-21T09:25:39Z")

</div>

At this point you’d be best off running `gxwf-lint` (part of gxformat2 `pip install gxformat2`) on your hand-written files (or `planemo workflow_lint`, which should run equivalent checks).

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [January 30, 2023, 10:59pm UTC](https://help.galaxyproject.org/t/non-specific-error-on-malformed-gxformat2-import/8692/4 "2023-01-30T22:59:45Z")

</div>

Closed on January 30, 2023, 10:59pm UTC


