# Stocks Transfer module configuration error

**URL:** <https://www.dolibarr.org/forum/t/stocks-transfer-module-configuration-error/23288>\
**Category:** PM modules\
**Tags:** Error, Stock-Module\
**Created:** [January 20, 2023, 10:00am UTC](https://www.dolibarr.org/forum/t/stocks-transfer-module-configuration-error/23288 "2023-01-20T10:00:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vasco](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/vasco/32/5856_2.png) [@vasco](https://www.dolibarr.org/forum/u/vasco)\
**Post date:** [January 20, 2023, 10:00am UTC](https://www.dolibarr.org/forum/t/stocks-transfer-module-configuration-error/23288/1 "2023-01-20T10:00:22Z")

</div>

Hi

I’m trying to configure the Stocks Transfer module in the advanced stocks and when I try to activate Proforma stocks transfer sheet or the Stocks transfer sheet I get the following error.

> Access to this page this way (POST method or GET with a sensible value for ‘action’ parameter) is refused by CSRF protection in main.inc.php. Token not provided. If you access your server behind a proxy using url rewriting and the parameter is provided by caller, you might check that all HTTP header are propagated (or add the line $dolibarr\_nocsrfcheck=1 into your conf.php file or MAIN\_SECURITY\_CSRF\_WITH\_TOKEN to 0 instead of 2 into setup).

Can someone tell me what’s wrong?

Thank you in advance for your help

---

<div class="post-metadata">

**Author:** ![ksar](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/ksar/32/514_2.png) [@ksar](https://www.dolibarr.org/forum/u/ksar)\
**Post date:** [January 20, 2023, 9:40pm UTC](https://www.dolibarr.org/forum/t/stocks-transfer-module-configuration-error/23288/2 "2023-01-20T21:40:17Z")

</div>

Hello,

Sounds like a bug.

What is you dolibarr version ?  
What is the URL you want to access ?

---

<div class="post-metadata">

**Author:** ![vasco](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/vasco/32/5856_2.png) [@vasco](https://www.dolibarr.org/forum/u/vasco)\
**Post date:** [January 25, 2023, 5:17pm UTC](https://www.dolibarr.org/forum/t/stocks-transfer-module-configuration-error/23288/3 "2023-01-25T17:17:23Z")

</div>

Sorry for the delay

Version 16.0.3  
URL: [http://10.17.224.33/stocks/htdocs/admin/stocktransfer.php?action=set&value=eagle\_proforma&scan\_dir=&label=Proforma+stocks+transfer+sheet](http://10.17.224.33/stocks/htdocs/admin/stocktransfer.php?action=set&value=eagle_proforma&scan_dir=&label=Proforma+stocks+transfer+sheet)
