# Galaxy API "GET" query: error message and troubleshooting

**URL:** <https://help.galaxyproject.org/t/galaxy-api-get-query-error-message-and-troubleshooting/2532>\
**Category:** Uncategorized\
**Tags:** history, dataset, devops-bioblend-api\
**Created:** [November 25, 2019, 11:16am UTC](https://help.galaxyproject.org/t/galaxy-api-get-query-error-message-and-troubleshooting/2532 "2019-11-25T11:16:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kkech](https://avatars.discourse-cdn.com/v4/letter/k/c77e96/32.png) [@kkech](https://help.galaxyproject.org/u/kkech)\
**Post date:** [November 25, 2019, 11:16am UTC](https://help.galaxyproject.org/t/galaxy-api-get-query-error-message-and-troubleshooting/2532/1 "2019-11-25T11:16:11Z")

</div>

Hi,

I have a problem getting the error message from the galaxy. I am using histories/{historyId}/contents/{contentId}, but when I get the error message(misc info field of JSON), the message is cropped.

Do you know why this is happening?

---

<div class="post-metadata">

**Author:** ![tnabtaf](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/tnabtaf/32/14_2.png) [@tnabtaf](https://help.galaxyproject.org/u/tnabtaf)\
**Post date:** [November 25, 2019, 9:53pm UTC](https://help.galaxyproject.org/t/galaxy-api-get-query-error-message-and-troubleshooting/2532/2 "2019-11-25T21:53:16Z")

</div>

Can you post either a screenshot of the truncated text, or the truncated text itself? That might give people an insight into why this is happening. Also, what command are you running?

---

<div class="post-metadata">

**Author:** ![kkech](https://avatars.discourse-cdn.com/v4/letter/k/c77e96/32.png) [@kkech](https://help.galaxyproject.org/u/kkech)\
**Post date:** [November 26, 2019, 11:24am UTC](https://help.galaxyproject.org/t/galaxy-api-get-query-error-message-and-troubleshooting/2532/3 "2019-11-26T11:24:53Z")

</div>

@tnabtaf

Thank you for your response.

Yes of course. Here is a screenshot of the message.

 ![8CF920AF-A41C-49D2-A4E9-C7C997F1AD94](https://us1.discourse-cdn.com/flex020/uploads/galaxy/original/2X/b/b2d046fd680fe9175db650d539a786e3ec9a9ba6.jpeg)

The truncated message is in the misc\_info field of the JSON.

I am making an API call at Galaxy. The method I call is:  
GET /api/histories/{history\_id}/contents/{id}

---

<div class="post-metadata">

**Author:** ![marten](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/marten/32/6_2.png) [@marten](https://help.galaxyproject.org/u/marten)\
**Post date:** [November 26, 2019, 3:19pm UTC](https://help.galaxyproject.org/t/galaxy-api-get-query-error-message-and-troubleshooting/2532/4 "2019-11-26T15:19:36Z")

</div>

The error is `IOError: No such file`. This seems like a problem in your tool - that it cannot find its inputs or something else it needs. Is that tool’s code somewhere we can see?

You should be able to see the full message if you access it from UI instead of a Postman client or using a job API. I think the full error is stored on the job object, the history dataset object `misc_info` only has 255 characters in database.

---

<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:** [March 17, 2026, 6:51am UTC](https://help.galaxyproject.org/t/galaxy-api-get-query-error-message-and-troubleshooting/2532/5 "2026-03-17T06:51:30Z")

</div>

Closed on March 17, 2026, 6:51am UTC


