0

I am sharing a link to facebook, but I am getting 500 Internal server error in Link Preview, I have tested my link using Facebook Sharing Debugger and got the following enter image description here

However when I do right click->view page source, all the tags are there and there is no tags missing

I am using Coldfusion framework and my page link is: https://ok119.com.hk/property_view_details.cfm?ID=87

What I have tried: I copy all the source code from 'view page source' and tested it using the following link: https://ok119.com.hk/testfb.cfm and it works fine

I hope you can help me to find the cause of the error..Thanks

Osama Shaki
  • 139
  • 15
  • just to let you know, the first time i tried your link - it returned "Server Error 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed." the second time i tried, it worked ... – luke Mar 25 '20 at 10:35
  • theres something causing that 500 error the first time you hit your page - i tried in an incognito window - 500 error - refreshed it and it worked. – luke Mar 25 '20 at 10:38
  • Ok noted, I will double check the code to know why it returns 500 error, thanks – Osama Shaki Mar 25 '20 at 12:42
  • 1
    You can try to enable IIS error details? https://stackoverflow.com/questions/2640526/detailed-500-error-message-asp-iis-7-5 – rrk Mar 25 '20 at 14:13
  • 1
    Also check the Coldfusion logs to find out what the error is? – rrk Mar 25 '20 at 14:22
  • I have enabled the error details in IIS, but I am not getting 500 error in the first time, could you send me what is the error you can see when you open the page please? thanks – Osama Shaki Mar 26 '20 at 06:08
  • @RRK I have checked the logs and found: 2020-03-26 06:16:29 103.18.247.23 GET /property_view_details.cfm ID=56 443 - 173.252.83.24 HTTP/1.1 facebookexternalhit/1.1+(+http://www.facebook.com/externalhit_uatext.php) - ok119.com.hk 500 0 0 14069 224 468 What does that mean please? – Osama Shaki Mar 26 '20 at 06:39
  • 1
    @osamashaki heres the error; The key [LANGCODE] does not exist. Stacktrace The Error Occurred in E:\Domains\ok119.com.hk\httpdocs\property_view_details.cfm: line 86 84: 85: 86: 87: 88: – luke Mar 26 '20 at 08:48
  • 1
    @luke thank you so much, your answer helped me :) – Osama Shaki Mar 26 '20 at 09:53

0 Answers0