Invalid access token

When I go to download an import or export file, i get this.

How can I fix this. Thanks

Looks like a htaccess redirect or something like that removes the header with the access token. Did you check for that?

No I am not sure how to check that. I did not change that. How would I be able to see that? What should be there?
Thanks

Open the .htaccess file in your public folder an look if there are any lines above or below the lines that marked as Shopware.

Here is all I have there:

#DirectoryIndex index.html index.php
#DirectoryIndex html index.php

DirectoryIndex disabled

Options -MultiViews # Restrict access to VCS directories RedirectMatch 404 /\\.(svn|git|hg|bzr|cvs)(/|$)
# Restrict access to root folder files
RedirectMatch 404 /(composer\.(json|lock|phar)|README\.md|\.gitignore|.*\.dist|\.env.*)$

I do not have anything else there. Should there be? What would you put there?

Thanks

Which Shopware version do you use?

thanks for your help. i am using 6.5.6.1

I also tried to change the .htaccess to the following:

DirectoryIndex disabled

Options -MultiViews # Restrict access to VCS directories RedirectMatch 404 /\\.(svn|git|hg|bzr|cvs)(/|$)
# Restrict access to root folder files
RedirectMatch 404 /(composer\.(json|lock|phar)|README\.md|\.gitignore|.*\.dist|\.env.*)$

Add these lines from the working .htaccess

RewriteEngine on
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]


Still no help. Strange because I have another version 6.5.4.0 and the above .htaccess is working on it. However it doesn’t seem to work on the 6.5.6.1 version or doesn’t matter.

Here is what the screen shows: