Skip to Content
Menu
This question has been flagged
2 Replies
146 Views

Hi Odoo Users

i am having problem with downloading export report when i press this error show anyone have solution for this problem


Avatar
Discard
Best Answer

Hii,

This happens because your Odoo session expired or the CSRF token used to validate your action is no longer valid. This is common in:

  • Inactive tabs
  • Long periods without refreshing
  • Clicking "Export" or downloading a file after the session has timed out

Reload the Page

Simply press Ctrl + R or click the browser’s refresh button.


This resets the session and regenerates the CSRF token.

Try Export Again

After the refresh:

  • Re-navigate to the same menu
  • Apply any needed filters or settings again
  • Press Export or download again

i your error is solved

Avatar
Discard
Best Answer

Hi,

CSRF Token Expired Error


When facing the “Session expired (invalid CSRF token)” error during report exports in Odoo, follow these steps to resolve it:

1. Refresh & Re-login


    Refresh the page.


    If the error continues, log out, clear browser cache & cookies, then log back in.


2. Use Incognito Mode


    Open Odoo in Incognito/Private Browsing to avoid cached data or extensions interference.


3. Switch Browser


    Try performing the export in a different browser (Chrome, Firefox, Edge) to rule out browser-specific issues.


4. Disable Extensions


    Temporarily disable ad-blockers, VPNs, or privacy/security extensions that might block session handling.


5. Check Internet Connection


    Ensure a stable internet connection as session drops can cause this error.


If the issue persists after these steps, it may need backend/session handling checks.


Hope it helps

Avatar
Discard