I managed to solve the error, when the system gives error with token is not necessary to apply the changes of v14 or v15 of dolibarr. you just have to make sure that on your server or hosting you have the following configuration of resources:
1 - 20gb of free space for the system to create the session tokens.
2 - increase the timeout of the ini.php file for the domain (if hosting), if dedicated server (VPS/KVM) edit the php file of the version you are using and increase the timeout to 0 or 30000.
3 - access to the dolibarr go to security and then increase the timeout time of sessions