craft-carbon-tracker icon indicating copy to clipboard operation
craft-carbon-tracker copied to clipboard

API No Longer Working

Open phill-bramble opened this issue 2 months ago • 2 comments

Installed this on a clients website, however all API calls result in a 401:

 Client error: `GET https://api.websitecarbon.com/site?url=https%3A%2F%2F<REDACTED>%2F` resulted in a `401 Unauthorized` response: {   "error": "Unauthorised." }  {"memory":6203120}

phill-bramble avatar Oct 14 '25 14:10 phill-bramble

Follow up - Look like the site API endpoint is no longer publicly accessible as of July this year according to websitecarbon docs.

phill-bramble avatar Oct 14 '25 15:10 phill-bramble

Hey @phill-bramble - we were aware of the API change, just not when they would actually lock down the endpoint. For now we don't have an alternative yet so I might have to ask for the plugin to be delisted on the store.

I'll leave your issue open and update you when/if we have a plan to go forward.

janhenckens avatar Oct 14 '25 17:10 janhenckens