Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Banner Tap Behavior Error

Avatar

Level 1

We get an error when tapping a banner that goest to pinterest.com. It is only happening on iOS. It has only been happening since the AEM update where banners can link to more than websites. We've tried "http" and "https". The error text is:

Cannot Open Page
This page cannot be opened because of an error.
The error is "The URL can't be shown" (101).

5 Replies

Avatar

Employee Advisor

Hi Matt,

I just tested in both AEM Preflight and custom viewer and it works fine. I'm presented with the website within the in-app browser and since I have the Pinterest App installed on device, I get a pop-up asking me whether or not I want to open directly in the App itself.

I'm not sure what's going on here, do you only have the issue with 'pinterest.com' or other websites as well?

Screen Shot 2016-08-11 at 09.56.14.png

Avatar

Level 1

It's only on Pinterest. One of the URLs we are trying to go to is http://pinterest.com/lowes/prepare-to-be-floored/

IMG_0002.PNG

Avatar

Level 2

did not work for me either.

so, i've checked the URL at browser and, because i'm in brazil, it was transformed to: https://br.pinterest.com/lowes/prepare-to-be-floored/

so, i put these url at banner and worked fine.

but it's not a good answer, i believe... why the internal browser on AEM couldn't support the region of URL from Pinterest?

kind regards!

Avatar

Employee Advisor

I could swear it was working when I first tested! I'm now getting the same error on tablet and phone. I'll test again today and see if I can get more info on this.

UPDATE: in fact everything works when you have the Pinterest App installed on device. I had removed the App from while testing and I'm now getting the error.

The error is not on the page you request but it looks more like the pages have a redirection pointing to the App on iTunes that does not work well in the in-App browser. I also did a network communication capture and I see page not found on 'https://www.pinterest.com/resource/UserSessionResource/create/', not sure if that is related.

I will pass this on internally.

Avatar

Employee Advisor

our engineers state the root cause is that the web page executes some javascript automatically upon load which redirects the url to Pinterest:// xxxx. So if Pinterest is not installed, UIWebView will report an error that the URL could not be opened.

I do not have a timeframe yet but this behaviour will change to ignore the error in future AEMM release.

Hope that helps