When it happens
Keys are enabled per product. A key issued only for the Analytics API gets this error from every Data API endpoint. TheWWW-Authenticate header names the missing scope, data:read.
What to do
Do not rotate the key: rotation does not change its products. Contact hello@pinakelai.com to add the Data API to your agreement, or use a key that includes it.Example
Headers
Body