# Specify 7 error Internal Server Error: /stored\_query/ephemeral/

**URL:** <https://speciforum.org/t/specify-7-error-internal-server-error-stored-query-ephemeral/1350>\
**Category:** Get Help\
**Created:** [October 6, 2023, 9:35am UTC](https://speciforum.org/t/specify-7-error-internal-server-error-stored-query-ephemeral/1350 "2023-10-06T09:35:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sfiat](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@sfiat](https://speciforum.org/u/sfiat)\
**Post date:** [October 6, 2023, 9:35am UTC](https://speciforum.org/t/specify-7-error-internal-server-error-stored-query-ephemeral/1350/1 "2023-10-06T09:35:47Z")

</div>

Hi there,

I have troubles using specify7 with docker and an existing specify6 database, the ephemeral query always breaks… preventing me from using most of the functionnalities of specify7

In order to debug, I deployed the all-in-one containers and restored my database in it (which is in version 6.8.03)

After quite a bit of investigations I found out that the query ephemeral is breaking on an XML response at this moment:

`/opt/specify7/specifyweb/stored_queries/format.py", line 43`

with the error:

`not well-formed (invalid token): line 179, column 29`

so I managed to print the XML file in question (from format.py line 43)

```auto
formattersXML, _ = get_app_resource(collection, user, 'DataObjFormatters')
logger.info("breaking up on this file: %s", formattersXML,)

```

and what I found is an “é” (and a few others):

`<field sep="Végetation : ">remarks</field>`

So I went into my database and removed all special chars from the data column in spappresourcedata… and restarted my specify containers but I still have the same error on accents…

My question is : how can I remove those accents/special chars ?

Many thanks  
Sylvie

ps: couldn’t find how to join a file but I can provide the xml fil if you’d like

---

<div class="post-metadata">

**Author:** ![sfiat](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@sfiat](https://speciforum.org/u/sfiat)\
**Post date:** [October 10, 2023, 8:45am UTC](https://speciforum.org/t/specify-7-error-internal-server-error-stored-query-ephemeral/1350/2 "2023-10-10T08:45:04Z")

</div>

Ok fixed now, I had special characters in data (blob type) column in spappresourcedata, I managed to remove them and it is working now.  
Best
