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
ajitvermaajitverma 

Lightning app showing error URL No Longer Exists

I am new to Lightning app development. I tried "Hello world" sample app given in salesforce quick start guide (https://developer.salesforce.com/resource/pdfs/Lightning_QuickStart.pdf). I first created the App and I was able to preview in browser successfully but when I embedded component into the app then "URL No Longer Exists" error was thrown. I have followed same steps given in the guide but not sure why it is not working. Any help is appreciated.


 
Mark SFMark SF
Did you click the Update Preview button for your app in the right sidebar of the dev console?

For the "URL No Longer Exists" error, what URL shows up in the browser bar?

Also, FYI that a namespace is no longer needed to create a component. You can use the default namespace, c, if your org doesn't have a namespace.

The app would now look like this:
<aura:application>
     <c:hello />
</aura:application>

 
Jan StaufenbergJan Staufenberg
Probably solved for you, however to anyone that might be interested: It is mandatory to pass URL-parameters for all aura:attributes of the app.