API V6 Image 401 error
AnsweredHello support,
We are trying to get an image for a Hanwa vision camera. The model is XNF-9010RV. We are using the url https://<cloud_system_id>.relay.vmsproxy.com/rest/v3/devices/<device_id>/image?size=1920x1080, and the response is <HTML><HEAD><TITLE>Unauthorized</TITLE></HEAD><BODY><H1>401 Unauthorized -- DisabledBasicAndDigest</H1></BODY>
The account we are using has admin permissions and other endpoints work on this account. Can you explain why we are getting this 401 Unauthorized response?
This is using a cloud url and the API version is V6.
Thank you
-
Hi Elan Paul,
This reveals the issue:
<HTML><HEAD><TITLE>Unauthorized</TITLE></HEAD><BODY><H1>401 Unauthorized -- DisabledBasicAndDigest</H1></BODY>This tells us, that you try to authenticate with Basic or Digest authentication, instead of a Bearer Token, so if you use a Bearer token, you should be able to get the desired thumbnail.
0
Please sign in to leave a comment.
Comments
1 comment