Difficulty setting up API access - "missing required elements -veTypeId"

I am trying to get started with retrieving data from a Chameleon IHD. Following the guidance in the API I can submit user details and get status 200 and a token - but when I progress to the next stage (Get all virtual entities ) I get status 400 and the following JSON

{'error': 'missing required elements -veTypeId,/resources or autocreate/'}

Has anyone else seen this? I only just got my smart meter and although data is coming through to the Bright app, my energy supplier can't see it yet. Do I just need to wait, or am I submitting my request wrong?

I'm using Python, calling

response = rq.post("https://api.glowmarkt.com/api/v0-1/virtualentity", headers='"Content-Type": "application/json", "applicationId": strAID, "token": strToken)'

All help gratefully received

Comments

Sign In or Register to comment.