# Change Thing type on Inrupt pod browser

**URL:** <https://forum.solidproject.org/t/change-thing-type-on-inrupt-pod-browser/4612>\
**Category:** General Discussion\
**Created:** [August 26, 2021, 9:33am UTC](https://forum.solidproject.org/t/change-thing-type-on-inrupt-pod-browser/4612 "2021-08-26T09:33:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajp](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/ajp/32/2867_2.png) [@ajp](https://forum.solidproject.org/u/ajp)\
**Post date:** [August 26, 2021, 9:33am UTC](https://forum.solidproject.org/t/change-thing-type-on-inrupt-pod-browser/4612/1 "2021-08-26T09:33:03Z")

</div>

As my profile file somehow got corrupted on [solidcommunity.net](http://solidcommunity.net) I am unable to use it for the moment but I was thankfully still able to download my backup data from the UI and reformatted it for the Inrupt pod (replacing the simple `<#id>` with `<https://pod.inrupt.com/path/filename.ttl#id>`).

Upon uploading it to my pod using the PodBrowser it shows in the UI as `Thing Type: application/octet-stream` instead of as `Thing Type: text/turtle;charset=UTF-8`. The file extension is .ttl and I’m 99.9% sure it’s valid Turtle. Does anyone know how I can change its Thing type?

If I try to fetch it from my application using `getSolidDataset` it fails with a 406 error code.

Thank you.

---

<div class="post-metadata">

**Author:** ![Vincent](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@Vincent](https://forum.solidproject.org/u/Vincent)\
**Post date:** [August 26, 2021, 9:40am UTC](https://forum.solidproject.org/t/change-thing-type-on-inrupt-pod-browser/4612/2 "2021-08-26T09:40:25Z")

</div>

Unfortunately PodBrowser can only get the MIME type of a file from the browser, so if the browser doesn’t know that it’s a `text/turtle` file, PodBrowser can’t know it either. (Although I guess one thing you might be able to do, if you’re comfortable with that, is open the “Network” tab of Firefox’s developer tools, look for the request that uploads your file, right-click and choose “Edit and resend”, and then change the Content-Type header yourself.)

(PS. The concept of a “Thing” in solid-client is _part_ of a file. (If it were up to me, I’d have called SolidDatasets ThingSets to clarify that.))

---

<div class="post-metadata">

**Author:** ![ajp](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/ajp/32/2867_2.png) [@ajp](https://forum.solidproject.org/u/ajp)\
**Post date:** [August 26, 2021, 10:25am UTC](https://forum.solidproject.org/t/change-thing-type-on-inrupt-pod-browser/4612/3 "2021-08-26T10:25:31Z")

</div>

Thanks for the suggestion @Vincent . You definitely need Firefox for the `edit and resent`, good tip! Also in Brave it was hard to find the actual request as pod browser seemed to make many tens of repeated requests (I think this was might have been due to Brave interfering somehow) for other resources like:

![image](https://europe1.discourse-cdn.com/flex017/uploads/solidproject/original/2X/a/aef026641bc2d9d0dbfcd19fd500deb81d0e2459.png)

I couldn’t manage to get it to work with Firefox, edit and resend. It seemed ok but when I tried to get the data it downloaded it all (you could tell from the time needed to complete the request) but the dataset was empty. I think it was because I didn’t set the header correctly. Pod browser displayed a type of `text/turtle` but not `text/turtle;charset=UTF-8`.

In the end I parsed the .ttl doc (thank VSCode for multi cursor and wrap/unwrap lines!), constructed the objects from the json and wrote a “small” client app (99.99% data 😂) to upload them to [pod.inrupt.com](http://pod.inrupt.com)
