# Weird case of Error "Cannot persist - no contact with server"

**URL:** <https://community.appfarm.io/t/weird-case-of-error-cannot-persist-no-contact-with-server/1623>\
**Category:** Bug reports\
**Created:** [February 6, 2025, 9:59am UTC](https://community.appfarm.io/t/weird-case-of-error-cannot-persist-no-contact-with-server/1623 "2025-02-06T09:59:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yassine.tebib](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/yassine.tebib/32/74_2.png) [@Yassine.tebib](https://community.appfarm.io/u/Yassine.tebib)\
**Post date:** [February 6, 2025, 9:59am UTC](https://community.appfarm.io/t/weird-case-of-error-cannot-persist-no-contact-with-server/1623/1 "2025-02-06T09:59:20Z")

</div>

Hello Hello  
i had i specific situation that looks weird and i wanted a bit more info about it.

My situation is this one :

- i have an action where i persist some data after modification
- i also have a catch expection at the end if something goes wrong with my action ( there is some webrequest in there so this feels safe to me )

if an error occurs , i implemented a log system to catch every info i need, i also put some log in the middle and start of my action to be sure i follow every mistake.

this what happened :

- and Error appeared in my log  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/d/dc735a3a32346c79e2c4b98089bc70d7dabb7686.png)
- if there is a connection problem , i still was able to receive all my logs during that action  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/c/c195ff8f8c68740034e56078f8fc4229fce4435c.png)

what can cause that kind of error then ?

thanks Again 😃

---

<div class="post-metadata">

**Author:** ![lbj](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/lbj/32/82_2.png) [@lbj](https://community.appfarm.io/u/lbj)\
**Post date:** [February 6, 2025, 7:00pm UTC](https://community.appfarm.io/t/weird-case-of-error-cannot-persist-no-contact-with-server/1623/2 "2025-02-06T19:00:51Z")

</div>

I’ve been experiencing the same thing when trying to persist files on dev server. I’m not sure if the same problem is present in production. I believe the first time I experienced the issue was on Sunday.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/8/86d490d96c2dd0a5912aea8e296212227bd70b35.png)

---

<div class="post-metadata">

**Author:** ![Yassine.tebib](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/yassine.tebib/32/74_2.png) [@Yassine.tebib](https://community.appfarm.io/u/Yassine.tebib)\
**Post date:** [February 6, 2025, 11:24pm UTC](https://community.appfarm.io/t/weird-case-of-error-cannot-persist-no-contact-with-server/1623/3 "2025-02-06T23:24:52Z")

</div>

Oh that’s it , and yes for my case it is present in production

---

<div class="post-metadata">

**Author:** ![rhys](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/rhys/32/1379_2.png) [@rhys](https://community.appfarm.io/u/rhys)\
**Post date:** [February 10, 2025, 1:36pm UTC](https://community.appfarm.io/t/weird-case-of-error-cannot-persist-no-contact-with-server/1623/4 "2025-02-10T13:36:51Z")

</div>

Hi Yassine! Sorry for the late reply.

I am not able to recreate this issue on desktop or mobile, but I have some followup questions:

- Which Appfarm version is affected?
- What are the files/file types used? I tested with Images, from Lars’ screenshot, but this worked for me in version 112-0-16.
- Have you been able to recreate in Dev? Does this happen every time a persist is tried, or only sometimes?

If you can share more details about the data model for the Order object class, and the action which fails, this can help to find out what the problem is. (e.g. the Persist setup, what happens to the object before persist, the Create File Object setup you use, and so on).

Thanks  
Rhys  
Appfarm

---

<div class="post-metadata">

**Author:** ![Yassine.tebib](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/yassine.tebib/32/74_2.png) [@Yassine.tebib](https://community.appfarm.io/u/Yassine.tebib)\
**Post date:** [February 11, 2025, 10:59am UTC](https://community.appfarm.io/t/weird-case-of-error-cannot-persist-no-contact-with-server/1623/5 "2025-02-11T10:59:04Z")

</div>

Hi Rhys 😃

- i think it’s version 112-0-16 or the one just before
- there is no files. it is just  
– Persisting Order  
– Persisting Order Lines
- i can’t do that again sadly this happened randomly ( and i think just once or twice)

since it is a big action with some webrequest calls , i had to put my logs around every part so i can follow any kind of bugs ( i find two bugs, i fixed them so i’m not sure that my previous error was specifically about the “No Contact with server” error)

i just felt weird that logs are persisted and not my order

i’ll let you know if it happens again

---

<div class="post-metadata">

**Author:** ![Sondre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/sondre/32/105_2.png) [@Sondre](https://community.appfarm.io/u/Sondre)\
**Post date:** [March 19, 2025, 7:42am UTC](https://community.appfarm.io/t/weird-case-of-error-cannot-persist-no-contact-with-server/1623/6 "2025-03-19T07:42:35Z")

</div>

Hi,

Just to add some more here.

I got this error at these dates; 19.03, 07.03 and 03.03.

The persist that triggers this error is in use multiple times every work day so it is relatively rare.

Sondre
