My home page has stopped displaying data with a API error message.
Any suggestions?
When I try to upload a screenshot all that presents is a web link of the photo.
Id Handmade-key
Home page not working
Possibly. I assume I just enter it again in settings?
I've tried several times adding a new API token, clicking connect,save etc but still can't connect. Extremely annoying as it's been connected and operating well up to now. I'm assuming my system now won't charge tonight as scheduled...
Obviously this trial period is coming to an end and I wish to subscribe but at the moment it's pointless if I can't connect!
Wonderwatt really needs to provide some basic user guides as it's frustrating having to trawl through chat forums looking for solutions.
Ijhhh There is a section in the FAQ https://community.wonderwatt.com/d/5-wonder-watt-faq - which is pinned at the top in the General forum, and it contains link to here: https://community.wonderwatt.com/d/19-api-token/2
Make sure you select all those permissions.
If that still fails, drop us a line at labs@wonderwatt.com and we can test the API key for you and work it out from there.
Thanks, I did select all those permissions to no avail. I'll email as suggested.
- Edited
You can test your API key out by using https://reqbin.com
In the URL field, paste: https://api.givenergy.cloud/v1/site
Then click the Authorization tab and paste your API token in there:
Click Send, and you should see a valid JSON formatted response like this:
This is what comes up. Is this a JSON response. Apologies I am not an IT expert....
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<meta name="csrf-token" content="vFXZFsqM9Io3Zqby5V3BK9ZDl5312d5YbdbjhDiM">
<title>givenergy.cloud</title>
<!-- Fonts -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open%20Sans:wght@400;600;700&display=swap">
<link href="https://cdnjs.cloudflare.com/ajax/libs/MaterialDesign-Webfont/7.2.96/css/materialdesignicons.min.css" rel="stylesheet">
<link rel="shortcut icon" href="https://api.givenergy.cloud/images/favicon.png">
<link rel="preload" as="style" href="https://api.givenergy.cloud/build/assets/app-be54edbf.css" />
<link rel="stylesheet" href="https://api.givenergy.cloud/build/assets/app-be54edbf.css" />
<link rel="preload" as="style" href="https://api.givenergy.cloud/build/assets/app-1d45850d.css" />
<link rel="modulepreload" href="https://api.givenergy.cloud/build/assets/app-24472afb.js" />
<link rel="stylesheet" href="https://api.givenergy.cloud/build/assets/app-1d45850d.css" />
<script type="module" src="https://api.givenergy.cloud/build/assets/app-24472afb.js"></script>
<style>
.bg-color-primary { background-color: #4fbba9 !important; }
.color-primary { color: #4fbba9 !important; }
.bg-color-accent { background-color: #b6b5b5 !important; }
.color-accent { color: #b6b5b5 !important; }
.bg-color-secondary { background-color: #233c7b !important; }
.color-secondary { color: #233c7b !important; }
.bg-color-success { background-color: #4fbba9 !important; }
.color-success { color: #4fbba9 !important; }
.bg-color-info { background-color: #86d7ef !important; }
.color-info { color: #86d7ef !important; }
- Edited
Ijhhh Yeah, likely something up with the API key permissions. You are getting the HTML error response page.
Giv should actually make sure this is a genuine JSON response with error details, but we’ll try and pick that up with them.
Also make sure when you copy and paste, you don’t accidentally put a leading or trailing space in. It’s an easy mistake to make.