# Error when trying to PATCH a resource on SOLID

**URL:** <https://forum.solidproject.org/t/error-when-trying-to-patch-a-resource-on-solid/2894>\
**Category:** General Discussion\
**Created:** [April 13, 2020, 9:13pm UTC](https://forum.solidproject.org/t/error-when-trying-to-patch-a-resource-on-solid/2894 "2020-04-13T21:13:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![walter.almeida](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/walter.almeida/32/1974_2.png) [@walter.almeida](https://forum.solidproject.org/u/walter.almeida)\
**Post date:** [April 13, 2020, 9:13pm UTC](https://forum.solidproject.org/t/error-when-trying-to-patch-a-resource-on-solid/2894/1 "2020-04-13T21:13:00Z")

</div>

I am experimenting with writing to my solid POD, following the example given here : [https://github.com/solid/solid-spec/blob/master/examples/user-posts-note.md](https://github.com/solid/solid-spec/blob/master/examples/user-posts-note.md)

I can create , read and update (with PUT) with no problem, but when I try PATCH, here is the error I get:

_Patch: Target application/octet-stream file syntax error: Error: Error: Don’t know how to parse application/octet-stream yet while trying to parse [https://walteralmeida.inrupt.net/private/myprivatedata/mynotepad/my-test-num1](https://walteralmeida.inrupt.net/private/myprivatedata/mynotepad/my-test-num1) as application/octet-stream_

Any idea what it can be ?

I am using PostMan to test, I set the body of my PATH request to raw :

_DELETE DATA {\<\> [http://www.w3.org/ns/activitystreams#content](http://www.w3.org/ns/activitystreams#content) “Going to Social Web WG” .}; INSERT DATA {\<\> [http://www.w3.org/ns/activitystreams#content](http://www.w3.org/ns/activitystreams#content) “Going to Social Web WG in Paris” .}_

the content of the resource is :

_@prefix as: [http://www.w3.org/ns/activitystreams#](http://www.w3.org/ns/activitystreams#). \_  
 \<\> a as:Note; \_  
\_ as:content “Going to Social Web WG”;  
\_ as:summary “My summary”._

and content type (for the PATCH request) is _application/sparql-update_

Thank you for help!

---

<div class="post-metadata">

**Author:** ![A\_A](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/a_a/32/786_2.png) [@A\_A](https://forum.solidproject.org/u/A_A)\
**Post date:** [April 13, 2020, 9:18pm UTC](https://forum.solidproject.org/t/error-when-trying-to-patch-a-resource-on-solid/2894/2 "2020-04-13T21:18:36Z")

</div>

Probably you didn’t set the content type (text/turtle) while creating it?

And if you would provide an example of a public resource, it would be easier to reproduce the issue :))

---

<div class="post-metadata">

**Author:** ![walter.almeida](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/walter.almeida/32/1974_2.png) [@walter.almeida](https://forum.solidproject.org/u/walter.almeida)\
**Post date:** [April 13, 2020, 9:21pm UTC](https://forum.solidproject.org/t/error-when-trying-to-patch-a-resource-on-solid/2894/3 "2020-04-13T21:21:37Z")

</div>

Thank you !

I thought I did, but there was a typo : text/tutle without the r …

It is now working 🙂
