question

abascuna avatar image
abascuna asked

Anyone getting a 401 error from VRM API?

Suddenly with no software changes from my side, I'm getting a 401 error when I fetch:

https://vrmapi.victronenergy.com/v2/users/XXXXX/installations?extended=1

Tokens are correct... Can it be a ACL/CORs change from Victron?

Any info/help is appreciated...

Thanks in advance!

VRMapi
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

2 Answers
abascuna avatar image
abascuna answered ·

Solved, sometimes tokens generate special characters / combination of them that need to be escaped... not scaping this access token caracters made the request invalid and so 401.


2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

kiwibrew avatar image
kiwibrew answered ·

Thanks for your post @abascuna@gmail.com I ran into this issue today. Now if I get a 401 my code fetches a new token and tries again.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Related Resources