# Unknown resource error /object error

**URL:** <https://discourse.psychopy.org/t/unknown-resource-error-object-error/43694>\
**Category:** Online experiments\
**Created:** [January 30, 2025, 2:57pm UTC](https://discourse.psychopy.org/t/unknown-resource-error-object-error/43694 "2025-01-30T14:57:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![radi](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/radi/32/43299_2.png) [@radi](https://discourse.psychopy.org/u/radi)\
**Post date:** [January 30, 2025, 2:57pm UTC](https://discourse.psychopy.org/t/unknown-resource-error-object-error/43694/1 "2025-01-30T14:57:21Z")

</div>

For my online task I am getting unknown resource error and a few others…

I’ve checked the repository and all the image/scene files are being loaded in. I have see most of these topics on unknown resource error and also tried the option to delete the project and all js files and upload it again but no luck.

below is my error message

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/2/d/2d22b1f66a01799e2b8f5ef503048a9e046a4716.png)

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [January 30, 2025, 3:21pm UTC](https://discourse.psychopy.org/t/unknown-resource-error-object-error/43694/2 "2025-01-30T15:21:46Z")

</div>

You have to use relative paths when running studies online. This error message suggests that you are asking Pavlovia to look for files on your hard drive.

---

<div class="post-metadata">

**Author:** ![radi](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/radi/32/43299_2.png) [@radi](https://discourse.psychopy.org/u/radi)\
**Post date:** [January 30, 2025, 3:22pm UTC](https://discourse.psychopy.org/t/unknown-resource-error-object-error/43694/3 "2025-01-30T15:22:55Z")

</div>

so in the directory i just put the folder name that is in the repository (Image/… so and so.?

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [January 30, 2025, 3:26pm UTC](https://discourse.psychopy.org/t/unknown-resource-error-object-error/43694/4 "2025-01-30T15:26:05Z")

</div>

Correct. That should work locally too. Include the file extension (e.g. .png)

---

<div class="post-metadata">

**Author:** ![radi](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/radi/32/43299_2.png) [@radi](https://discourse.psychopy.org/u/radi)\
**Post date:** [January 30, 2025, 3:52pm UTC](https://discourse.psychopy.org/t/unknown-resource-error-object-error/43694/5 "2025-01-30T15:52:02Z")

</div>

That worked! Thank you, I was getting so frustrated but it was such a silly mistake.
