Actually, I'm using the following link behind a custom button(Type:Detail Page Button) on the Account:


I works fine in Classic but in Salesforce 1 and in Lightning Experience, I face the issue:

Error Data Request, Erreur 400:401

Any idea to turn this button to work Salesforce1 and Lightning Experience ?

1 Answer 1


Custom buttons are not supported in Lightning Experience, as stated below:

Custom buttons that use a JavaScript content source aren’t supported in Lightning Experience. Check out Lightning Alternatives to JavaScript Buttons in Trailhead for a great list of Lightning-friendly solutions for your JavaScript button use cases.

Kindly check out alternatives here to Custom Buttons in Lightning experience and SF1.

  • Glad it helped. Kindly go through this particular help topic to learn about , what-to-do when someone answers your question.
    – Mahmood
    Feb 23, 2017 at 7:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .