# Insert image from local file gives error: The document security token is not correctly formed

**URL:** https://forum.yunohost.org/t/insert-image-from-local-file-gives-error-the-document-security-token-is-not-correctly-formed/36345
**Category:** Support apps
**Tags:** nextcloud, english
**Created:** [April 6, 2025, 8:53am UTC](https://forum.yunohost.org/t/insert-image-from-local-file-gives-error-the-document-security-token-is-not-correctly-formed/36345 "2025-04-06T08:53:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![chriz](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/c/7feea3/32.png) [@chriz](https://forum.yunohost.org/u/chriz)
#### Post date: [April 6, 2025, 8:53am UTC](https://forum.yunohost.org/t/insert-image-from-local-file-gives-error-the-document-security-token-is-not-correctly-formed/36345/1 "2025-04-06T08:53:24Z")

</div>

**What type of hardware are you using** : Old laptop or computer  
**What YunoHost version are you running** : 12.0.13  
**What app is this about** : nextcloud/onlyoffice

### Describe your issue

Trying to insert an image from the computer in a document gives this error:  
The document security token is not correctly formed.  
I checked the JWT secret key and it matches with the settings for onlyoffice in nextcloud  
I checked the header which is default and matches too.  
What else can I check?

onlyoffice has been updated to the last version regarding the security issue  
everything is up to date  
diagnosis all green checks

Thanks,  
Christian

### Share relevant logs or error messages

NA

---

<div class="post-metadata">

### Author: ![chriz](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/c/7feea3/32.png) [@chriz](https://forum.yunohost.org/u/chriz)
#### Post date: [April 8, 2025, 9:04am UTC](https://forum.yunohost.org/t/insert-image-from-local-file-gives-error-the-document-security-token-is-not-correctly-formed/36345/2 "2025-04-08T09:04:52Z")

</div>

No one who might have a solution for this problem?

---

<div class="post-metadata">

### Author: ![chriz](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/c/7feea3/32.png) [@chriz](https://forum.yunohost.org/u/chriz)
#### Post date: [April 19, 2025, 8:35am UTC](https://forum.yunohost.org/t/insert-image-from-local-file-gives-error-the-document-security-token-is-not-correctly-formed/36345/3 "2025-04-19T08:35:54Z")

</div>

I’m still open to a solution for this problem which I have not been able to resolve.

Anyone?  
Christian

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [May 4, 2025, 8:36am UTC](https://forum.yunohost.org/t/insert-image-from-local-file-gives-error-the-document-security-token-is-not-correctly-formed/36345/4 "2025-05-04T08:36:34Z")

</div>

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