{"id":4296,"date":"2022-02-15T07:00:53","date_gmt":"2022-02-15T07:00:53","guid":{"rendered":"https:\/\/himbap.com\/blog\/?p=4296"},"modified":"2022-02-15T07:00:53","modified_gmt":"2022-02-15T07:00:53","slug":"fixing-this-app-isnt-opening-correctly-error","status":"publish","type":"post","link":"https:\/\/himbap.com\/blog\/?p=4296","title":{"rendered":"Fixing &#8220;This app isn&#8217;t opening correctly&#8221; error"},"content":{"rendered":"<p><strong>Problem<\/strong><br \/>\nGetting Error while opening Canvas app embedded in model driven form.<\/p>\n<p><a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/02\/Canvasapp1.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-4298 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/02\/Canvasapp1-300x82.jpg\" alt=\"Canvasapp1\" width=\"300\" height=\"82\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/02\/Canvasapp1-300x82.jpg 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/02\/Canvasapp1.jpg 493w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>Solution<\/strong><br \/>\nRecently we faced following error while trying to open canvas app. Earlier this app was working fine and this error occurred after new changes deployed to this environment.<\/p>\n<p><a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/02\/Canvasapp2.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-4299 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/02\/Canvasapp2-300x81.jpg\" alt=\"Canvasapp2\" width=\"300\" height=\"81\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/02\/Canvasapp2-300x81.jpg 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/02\/Canvasapp2-1024x276.jpg 1024w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/02\/Canvasapp2-624x168.jpg 624w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/02\/Canvasapp2.jpg 1089w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Based on the error message, I started troubleshooting it and checked ID of the user and verified if this app is shared with the current user or not. I looked into the users list with whom this app was shared and found current user there which verified that this is not a permission issue.<\/p>\n<p>Next I started looking into control properties to make sure something everything is correct there. While we embed canvas app in model driven form, very important part is <strong>App ID<\/strong>.<\/p>\n<p><a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/02\/Canvasapp3.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-4300 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/02\/Canvasapp3-300x281.jpg\" alt=\"Canvasapp3\" width=\"300\" height=\"281\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/02\/Canvasapp3-300x281.jpg 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/02\/Canvasapp3-624x584.jpg 624w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/02\/Canvasapp3.jpg 694w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>To verify if this App id is matching to the app in this environment, I went to make.powerapps.com and looked into canvas app details and found that id was different. Once I corrected App ID. It started working fine.<\/p>\n<p><strong>Summary<\/strong><br \/>\nIf we are getting &#8220;This app isn&#8217;t opening correctly&#8221; this may be because of the wrong App ID. Make sure to review error details and start troubleshooting based on the error details<\/p>\n<p>Hope it will help someone!<br \/>\n<strong>Keep learning, Keep sharing !!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Problem Getting Error while opening Canvas app embedded in model driven form. Solution Recently we faced following error while trying to open canvas app. Earlier this app was working fine and this error occurred after new changes deployed to this environment. Based on the error message, I started troubleshooting it and checked ID of the user and verified if this&#8230; <a href=\"https:\/\/himbap.com\/blog\/?p=4296\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":4298,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[817,21,402,728],"tags":[968,823,966,967],"_links":{"self":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4296"}],"collection":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4296"}],"version-history":[{"count":3,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4296\/revisions"}],"predecessor-version":[{"id":4302,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4296\/revisions\/4302"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/4298"}],"wp:attachment":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}