Facebook Opengraph returns error code 206

Asked by:
locohammerhead / 20 Points
Time:
2013-12-16 9:54 pm EST
Category:
Website Troubleshooting
Hits:
4,569
Hello,

I have been trying to figure out why facebook keeps returning error code 206 when I run the linter. It shows:

Errors That Must Be Fixed
Object Invalid Value Object at URL 'http://gadzids.com/' of type 'addshoppers:website' is invalid because the given value '/img/logo.jpg?1386217385' for property 'og:image:url' could not be parsed as type 'url'.

I also get error code 206 on my wordpress site. That shows:

Open Graph Warnings That Should Be Fixed
Inferred Property The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.
og:image should be larger Provided og:image is not big enough. Please use an image that's at least 200x200 px. Image 'http://blog.gadzids.com/wp-content/uploads/2013/11/2wbrw.jpg' will be used instead.

I was able to find this on stackoverflow that says it could be a caching problem on the server side. http://stackoverflow.com/questions/8492528/facebook-debugger-lint-tool-gets-http-206-doesnt-detect-open-graph-meta-tags

I have manually edited the header.tpl file in my prestashop theme with OG tags and that just completely breaks my site.

Thank you,
Brandon Cook

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

ScottM
Staff
16,266 Points
2013-12-16 10:45 pm EST
Hello Brandon,

Thank you for your question today. With the first error: Object Invalid Value Object at URL 'http://gadzids.com/' of type 'addshoppers:website' is invalid because the given value '/img/logo.jpg?1386217385' for property 'og:image:url' could not be parsed as type 'url'., from what I can find, the issue lies in that the og:image:url value is not a full URL. It needs to be complete. ie: 'http://gadzids.com/img/logo.jpg?1386217385'

With the WordPress, I cannot tell the original image it tried to use, but the error is asking that you use an image that is at least 200x200 in size. From the several variations of the image on your site, there are at least 3 for that image that do not meet that requirement. If the one you are calling is one of those three, then that would explain that error. I am unsure of the exact nature of the "Inferred Proeprty portion of the error and whether it directly correlates to the size warning. You may want to check the particular page via the debugger at https://developers.facebook.com/tools/debug for more details.

As for the potential caching issue, while possible, our servers do not have general caching on them. Individual accounts, or even Content Management Systems may have them enabled, but that would need to be done specifically by the account owner/developer. If you have the caching enabled on your site, you may want to refresh or disable it and then try again to see if the errors persist,

Kindest Regards,
Scott M

To submit a comment on this answer, please first login.

Thank you for your reply. I was thinking it had to do with that, but I do not know how to fix it. in the header.tpl file there is
<a id="header_logo" href="{$base_dir}" title="{%shop_name | escape: 'htmlall' : 'utf-8'}">
<img class="logo" src="{$logo_url"}" alt=" {$shop_name | escape: 'htmlall' : 'utf-8'}" {if %logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} />

My logo is 155 x 35 so it is smaller than the 200x200. I tried to replace {$logo_url} with http://gadzids.com/img/logo.jpg?1386217385 and the {$shop_name | escape: 'htmlall' : utf-8'} with GadZids.com but nothing happened.
locohammerhead
20 Points

2013-12-16 11:12 pm EST
The logo for my blog is the same size as the one on my store but yet facebook decides to pull in the "beta sale" image as the store logo.
locohammerhead
20 Points

2013-12-16 11:17 pm EST
Wait, I think I may have misread what you wrote. It needs to be at least 200 x 200. Mine are smaller than that. I will resize and see what I come up with.
locohammerhead
20 Points

2013-12-16 11:18 pm EST
Changed to an image that is 260x200 and it is still pulling in the beta sale image on the wordpress page and I still get the same problem with my store
locohammerhead
20 Points

2013-12-16 11:55 pm EST
Hello Locohammerhead,

I was looking around on this issue as per Scott's research above, and although it appears you're using the correct size graphic, there may be something else happening. We can't verify this because it's happening on Facebook, so you will need to run the DEBUG tool that they provide and see if you can get more information on what's happening. The URL was provided by Scott above: https://developers.facebook.com/tools/debug. I would also suggest contacting the author/developer of the plugin if you continue to have problems. They may have more specific information to correct the problem.

Regards,
Arnel C.
arnelc
17,314 Points
Staff
2013-12-17 4:55 am EST
Thank you Arnel.

I did have to do some more stuff on my end. Turns out that my windows machine was not saving the file when I added in the OG tags... I went to my Linux pc and it worked. Now the debugger says everything is fine. Still gets the 206 message but doesn't bug me about anything. So I won't worry to much about that.
The problem I am having now I am sure has to do with the plugin.
locohammerhead
20 Points

2013-12-17 7:11 am EST
Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}