function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Divya S NairDivya S Nair 

Viesourse page- custom button error.

I have created a custom button in salesforce account using visualsource page. The button was working fine till yesterday morning. After that whiile executing the code got an error as  "Failed to load resource: the server responded with a status of 500 (Server Error)
send @ connection.js:595
PearlBtn?id=0061t000008MKxrAAG&tour=&isdtp=p1&sfdcIFrameOrigin=https%3A%2F%2Fgreencrosstraining.lightning.force.com&sfdcIFrameHost=web&nonce=f09fc07f85f4d913a716b69e313d3a03ef06c8efbeea90c656c50ffceff3666d&ltn_app_id=06m1t000000ZIQzAAO&clc=0:56 An unexpected Error has Occurred. Error: {faultcode:'sf:INVALID_SESSION_ID', faultstring:'INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session', detail:{UnexpectedErrorFault:{exceptionCode:'INVALID_SESSION_ID', exceptionMessage:'Invalid Session ID found in SessionHeader: Illegal Session', }, }, }".

Please clear my doubt as it is urgent.

Thanks
Roy J 6Roy J 6

Hi @Divya S Nair

Hope you are good

If you passing any session/Token in your project?

 

Divya S NairDivya S Nair
Thanks for your reply.Yes, passing token with username and password from my project to connect salesforce.