Closed nikolasburk closed 4 months ago
Not the first time this breaks without anyone noticing 😢
Yeah this is a bummer given how much excellent documentation y'all have in Prisma.
For reference here's a sample failing request:
POST /docs/api/sentiment HTTP/1.1
Content-Type: application/json
Accept: */*
Sec-Fetch-Site: same-origin
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Sec-Fetch-Mode: cors
Host: www.prisma.io
Origin: https://www.prisma.io
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1 Safari/605.1.15
Content-Length: 91
Connection: keep-alive
Payload:
{"pageUrl":"/docs/concepts/components/prisma-client/client-extensions","sentiment":"Happy"}
Response:
HTTP/1.1 405 Method Not Allowed
Access-Control-Allow-Origin: *
Content-Type: text/html; charset=utf-8
Content-Security-Policy: default-src data: 'unsafe-inline' 'unsafe-eval' https:; script-src data: 'unsafe-inline' 'unsafe-eval' https: blob:; style-src data: 'unsafe-inline' https:; img-src data: https: blob:; font-src data: https:; connect-src https: wss: blob:; media-src https: blob:; object-src https:; child-src https: data: blob:; form-action https:; block-all-mixed-content
Content-Disposition: inline; filename="404.html"
Transfer-Encoding: Identity
Referrer-Policy: no-referrer
Cache-Control: public, max-age=0, s-maxage=31536000, immutable
Date: Wed, 22 Nov 2023 08:12:17 GMT
Connection: keep-alive
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Vercel-Cache: MISS
Server: Vercel
Feature-Policy: microphone 'none'; geolocation 'none'
Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
X-Vercel-Id: pdx1:pdx1:pdx1::sjfpt-1700640737904-aefea554c702
Closing as stale since we removed the feedback widget.
We haven't gotten any data for the like/dislike buttons for ~1-2 months. When I click the buttons on any docs page, I don't see any UI feedback but there's an error in the console:
and