# Link preview HTTP GET breaks spec

**URL:** <https://meta.discourse.org/t/link-preview-http-get-breaks-spec/200996>\
**Category:** Bug\
**Created:** [August 19, 2021, 4:58pm UTC](https://meta.discourse.org/t/link-preview-http-get-breaks-spec/200996 "2021-08-19T16:58:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jamie.wilson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamie.wilson/32/185466_2.png) [@jamie.wilson](https://meta.discourse.org/u/jamie.wilson)\
**Post date:** [August 23, 2021, 5:49pm UTC](https://meta.discourse.org/t/link-preview-http-get-breaks-spec/200996/4 "2021-08-23T17:49:39Z")

</div>

I’m seeing the following (which matches up with the image in your first post):

 ![Screen Shot 2021-08-23 at 1.33.19 PM](https://global.discourse-cdn.com/meta/original/3X/6/c/6c9cde645095dd6e1cdbfee06ae1e68b1d32549a.png)

The text ‘Getting Started Guide’ shows us that the request has been successful - it’s pulling that string from the `og:title` meta tag:

`<meta property="og:title" content="Getting Started Guide" data-react-helmet="true">`

The error/warning that the description is missing is also correct. The content on the page is as follows:

`<meta property="og:description" content="" data-react-helmet="true">`

The image URL comes from the `og:image` tag, which is as follows:

`<meta data-react-helmet="true" property="og:image" content="https://app.gitbook.com/share/space/thumbnail/-LA-UVvV3_TgzQyCXMWK.png">`

If I cut and paste `https://app.gitbook.com/share/space/thumbnail/-LA-UVvV3_TgzQyCXMWK.png` in to my browser (recent Safari on MacOS) I receive an error saying:

`Error: could not handle the request`

Making the same request via `curl` gives the same response:

```plaintext
curl -v https://app.gitbook.com/share/space/thumbnail/-LA-UVvV3_TgzQyCXMWK.png
* Trying 104.18.8.111...
* TCP_NODELAY set
* Connected to app.gitbook.com (104.18.8.111) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-ECDSA-CHACHA20-POLY1305
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=California; L=San Francisco; O=Cloudflare, Inc.; CN=sni.cloudflaressl.com
* start date: Jun 16 00:00:00 2021 GMT
* expire date: Jun 15 23:59:59 2022 GMT
* subjectAltName: host "app.gitbook.com" matched cert's "*.gitbook.com"
* issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x142809200)
> GET /share/space/thumbnail/-LA-UVvV3_TgzQyCXMWK.png HTTP/2
> Host: app.gitbook.com
> User-Agent: curl/7.64.1
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
< HTTP/2 500
< date: Mon, 23 Aug 2021 17:40:04 GMT
< content-type: text/plain; charset=utf-8
< content-length: 36
< cf-ray: 68361fb8ea9b4009-YYZ
< age: 432
< vary: Accept-Encoding
< via: magic cache
< cf-cache-status: HIT
< expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< x-cache: HIT
< x-cloud-trace-context: 9d4cbd24a15138451c88b2ced35a32f1;o=1
< x-content-type-options: nosniff
< x-magic-hash: f46ac4bf6b6dc125a68e9ad566b48481631bb27eec2165532a7c0f538e93c4f6
< x-release: gitbook-28427-6.25.14
< server: cloudflare
<
Error: could not handle the request
* Connection #0 to host app.gitbook.com left intact
* Closing connection 0

```

Can you see an image if you cut and paste the `og:image` URL in to your browser?

In summary: the Onebox preview seems to be performing as expected, based on the response from the original URL.

---

_[View the full topic](https://meta.discourse.org/t/link-preview-http-get-breaks-spec/200996)._
