hudec117 / sf-niknax

Browser extension for various QoL improvements in Salesforce, with emphasis on familiar design and excellent UX.
https://chrome.google.com/webstore/detail/salesforce-niknax/oppifclggmgkdnafjhcjojmmiegomlio
GNU Affero General Public License v3.0
3 stars 0 forks source link

Failed to get or process the Audit Trail CSV because: Failed to find _CONFIRMATIONTOKEN in Audit Trail page. #34

Open SantiParris8 opened 3 months ago

SantiParris8 commented 3 months ago

Failed to get or process the Audit Trail CSV because: Failed to find _CONFIRMATIONTOKEN in Audit Trail page.

When clicking on view audit. Getting error in all orgs.

hudec117 commented 2 months ago

Heya, thanks for reporting this!

  1. Go to the Setup Audit Trail page
  2. (assuming you're in Lightning) Right click on the table and select "View Frame Source"
  3. Ctrl+F for "_CONFIRMATIONTOKEN"

Does it show up? It should look like this:

<a href="/servlet/servlet.SetupAuditTrail?id=00D8d00000AqIXY&amp;_CONFIRMATIONTOKEN=VmpFPSxNakF5TkMwd05DMHhNMVF4T1RveU1qb3lNeTQwTWpsYSxyWWFfUXF4cXNyOFpaeU1qd3N5WFdaaE9Scm5LWUVLVmJDNWt0VjhKdm44PSxOMk5qT0dWaQ%3D%3D&amp;isdtp=p1" target="_top">download</a>

My Regex expects the same format, position of attributes, whitespace etc Does anything look different compared to yours?

SantiParris8 commented 2 months ago

Hi, sorry for the delay. The issue appear randomly, will try to get the confirmation token revised if the issue shows up again. Thank you.