victronenergy / dynamic-ess

MIT License
76 stars 5 forks source link

The given name for the accesstoken is not unique #10

Closed IHateNameStealers closed 1 year ago

IHateNameStealers commented 1 year ago

After creating a valid Bearer token, I get an "error" on "Create an access token for a user" when using the generated Bearer token and user idUser.

I'm 100% sure that I use the complete (long) generated token, and idUser.

{
  "success": false,
  "error_code": "validation_error",
  "errors": {
    "name": "The given name for the accesstoken is not unique"
  }
}

Any help appreciated.

dirkjanfaber commented 1 year ago

The easiest way is to go to https://vrm.victronenergy.com/access-tokens instead for creating the access token. I'll add that to the documentation too, as that is much easier than the currently documented way.

IHateNameStealers commented 1 year ago

Dankjewel.