# API Stash Data - Help with Error

**URL:** <https://community.glideapps.com/t/api-stash-data-help-with-error/75544>\
**Category:** Ask for Help\
**Created:** [August 9, 2024, 5:37am UTC](https://community.glideapps.com/t/api-stash-data-help-with-error/75544 "2024-08-09T05:37:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danny\_Nielsen](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/danny_nielsen/32/61765_2.png) [@Danny\_Nielsen](https://community.glideapps.com/u/Danny_Nielsen)\
**Post date:** [August 9, 2024, 5:37am UTC](https://community.glideapps.com/t/api-stash-data-help-with-error/75544/1 "2024-08-09T05:37:52Z")

</div>

Hi

Im trying out the Stash Data, im getting a long error 400, but cant figure out what im doing wrong 🙂

“Error  
 &nbsp; &nbsp;at new i (/glide/packages/functions-support/dist/js/index.js:1:1057)  
 &nbsp; &nbsp;at parseStashID (/glide/functions/lib/functions/src/api/stash-helpers.js:23:16)  
 &nbsp; &nbsp;at /glide/functions/lib/functions/src/api/gbt.js:215:54  
 &nbsp; &nbsp;at handleReturn (/glide/node\_modules/.pnpm/[[email&nbsp;protected]…”](https://community.glideapps.com/cdn-cgi/l/email-protection)

[ 

![Error](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/0/a0bbf531afdf1bb74471e2d64e2ca7adaa76801b.png)

](https://community.glideapps.com/cdn-cgi/l/email-protection)

---

<div class="post-metadata">

**Author:** ![Danny\_Nielsen](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/danny_nielsen/32/61765_2.png) [@Danny\_Nielsen](https://community.glideapps.com/u/Danny_Nielsen)\
**Post date:** [August 9, 2024, 5:40am UTC](https://community.glideapps.com/t/api-stash-data-help-with-error/75544/2 "2024-08-09T05:40:22Z")

</div>

Error

```
Error
   at new i (/glide/packages/functions-support/dist/js/index.js:1:1057)
   at parseStashID (/glide/functions/lib/functions/src/api/stash-helpers.js:23:16)
   at /glide/functions/lib/functions/src/api/gbt.js:215:54
   at handleReturn (/glide/node_modules/.pnpm/[[email&nbsp;protected]](https://community.glideapps.com/cdn-cgi/l/email-protection)_patch_hash=irwptyw7mibtxhsaajblxoagtu_@[[email&nbsp;protected]](https://community.glideapps.com/cdn-cgi/l/email-protection)[[email&nbsp;protected]](https://community.glideapps.com/cdn-cgi/l/email-protection)/node_modules/express-promise-router/lib/express-promise-router.js:24:23)
   at /glide/node_modules/.pnpm/[[email&nbsp;protected]](https://community.glideapps.com/cdn-cgi/l/email-protection)_patch_hash=irwptyw7mibtxhsaajblxoagtu_@[[email&nbsp;protected]](https://community.glideapps.com/cdn-cgi/l/email-protection)[[email&nbsp;protected]](https://community.glideapps.com/cdn-cgi/l/email-protection)/node_modules/express-promise-router/lib/express-promise-router.js:65:7
   at handleReturn (/glide/node_modules/.pnpm/[[email&nbsp;protected]](https://community.glideapps.com/cdn-cgi/l/email-protection)_patch_hash=irwptyw7mibtxhsaajblxoagtu_@[[email&nbsp;protected]](https://community.glideapps.com/cdn-cgi/l/email-protection)[[email&nbsp;protected]](https://community.glideapps.com/cdn-cgi/l/email-protection)/node_modules/express-promise-router/lib/express-promise-router.js:24:23)
   at /glide/node_modules/.pnpm/[[email&nbsp;protected]](https://community.glideapps.com/cdn-cgi/l/email-protection)_patch_hash=irwptyw7mibtxhsaajblxoagtu_@[[email&nbsp;protected]](https://community.glideapps.com/cdn-cgi/l/email-protection)[[email&nbsp;protected]](https://community.glideapps.com/cdn-cgi/l/email-protection)/node_modules/express-promise-router/lib/express-promise-router.js:65:7
   at Layer.handle [as handle_request] (/glide/node_modules/.pnpm/[[email&nbsp;protected]](https://community.glideapps.com/cdn-cgi/l/email-protection)/node_modules/express/lib/router/layer.js:95:5)
   at next (/glide/node_modules/.pnpm/[[email&nbsp;protected]](https://community.glideapps.com/cdn-cgi/l/email-protection)/node_modules/express/lib/router/route.js:149:13)
   at validationMiddleware (/glide/node_modules/.pnpm/[[email&nbsp;protected]](https://community.glideapps.com/cdn-cgi/l/email-protection)[[email&nbsp;protected]](https://community.glideapps.com/cdn-cgi/l/email-protection)/node_modules/express-zod-openapi/lib/index.js:644:9)
   at runMicrotasks (<anonymous>)
   at processTicksAndRejections (node:internal/process/task_queues:96:5)
```

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [August 9, 2024, 7:48am UTC](https://community.glideapps.com/t/api-stash-data-help-with-error/75544/3 "2024-08-09T07:48:00Z")

</div>

That looks like possibly a bug. I’ll see if I can find somebody that can help.

---

<div class="post-metadata">

**Author:** ![rwdaigle](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rwdaigle/32/65491_2.png) [@rwdaigle](https://community.glideapps.com/u/rwdaigle)\
**Post date:** [August 9, 2024, 12:40pm UTC](https://community.glideapps.com/t/api-stash-data-help-with-error/75544/4 "2024-08-09T12:40:37Z")

</div>

Hey Danny,

Do me a favor and make your stash id a UUID (e.g., something in the form `85d65676-424d-4102-b2cd-cd338722c775`).

This stash id format is a temporary relic of a previous implementation that we haven’t yet updated (despite what the docs say).

---

<div class="post-metadata">

**Author:** ![Danny\_Nielsen](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/danny_nielsen/32/61765_2.png) [@Danny\_Nielsen](https://community.glideapps.com/u/Danny_Nielsen)\
**Post date:** [August 10, 2024, 6:53am UTC](https://community.glideapps.com/t/api-stash-data-help-with-error/75544/5 "2024-08-10T06:53:46Z")

</div>

That got me 200, thanks 🙂

---

<div class="post-metadata">

**Author:** ![Danny\_Nielsen](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/danny_nielsen/32/61765_2.png) [@Danny\_Nielsen](https://community.glideapps.com/u/Danny_Nielsen)\
**Post date:** [August 10, 2024, 7:34am UTC](https://community.glideapps.com/t/api-stash-data-help-with-error/75544/6 "2024-08-10T07:34:42Z")

</div>

Small thing, in the REST API to add/owerwrite rows, i need to provide {tableID}

In Glide / show API, i can find my tablename (not the ID / kinda)  
table: “native-table-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx”

I can get the {tableID} with “List Tables”, but a small nice-to-have would be the ID shown somewhere in Glide. Well, it kinda is, if i remove “native-table-” from name i get the ID - But still.

As said, small thing 🙂

---

<div class="post-metadata">

**Author:** ![rwdaigle](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rwdaigle/32/65491_2.png) [@rwdaigle](https://community.glideapps.com/u/rwdaigle)\
**Post date:** [August 13, 2024, 8:12pm UTC](https://community.glideapps.com/t/api-stash-data-help-with-error/75544/7 "2024-08-13T20:12:50Z")

</div>

Great feedback, Danny. Thank you. Will add this to our list when we take a pass through the interface to clean up our API references 👍

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [August 20, 2024, 8:13pm UTC](https://community.glideapps.com/t/api-stash-data-help-with-error/75544/8 "2024-08-20T20:13:18Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
