2

I was playing with Canvas app in my Trailhead Play Ground (TP). I have implemented Canvas in TP successfully but very time I have received below error.

enter image description here

enter image description here

However, I have implemented same Canvas app in my Developer Org (DE) and getting proper output from Canvas.

Is there any known issue in TP regarding Canvas? Any idea how to fix it in TP?

PS: I was implementing Canvas app from below link: http://www.worldofsalesforce.com/2017/05/displaying-external-web-app-using-Salesforce-Canvas.html

3
  • 1
    Do you have the pUsername and Password for your play ground org](trailhead.salesforce.com/en/modules/…)? I've found references that suggest Canvas apps don't work with certain authentication methods. E.g. frontdoor.jsp. So it might be worth a direct login. Commented May 13, 2018 at 23:14
  • Thanks @DanielBallinger. As you know, generally Play ground orgs are getting authenticated by Trailhead Account. So play ground orgs don't need passwords to login. I will do password reset of one of my Play ground org so that I can login using username/password and test the Canvas.
    – Avijit
    Commented May 14, 2018 at 8:39
  • @DanielBallinger Tested with username/password and its working as expected. Many thanks.
    – Avijit
    Commented May 15, 2018 at 14:39

1 Answer 1

1

I've found other posts that suggest Canvas apps don't work when you are logged into an org using frontdoor.jsp.

The direct login to Trailhead playground orgs will has a similar process.

Instead, try and authenticate into the playground directly with the username and password. These can be recovered using the instructions in Get Your Trailhead Playground Username and Password

2
  • Tested with username/password and its working as expected. Many thanks.
    – Avijit
    Commented May 16, 2018 at 7:58
  • 1
    Also, I have mailed [email protected] (Trailhead Support) to get their advice on this.
    – Avijit
    Commented May 16, 2018 at 8:06

You must log in to answer this question.

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