aristanetworks/cvprac

User is unauthorized on get_devices_in_container

Closed this issue · 3 comments

On one method, I get the following:
{"errorCode":"112498","errorMessage":"Failure - User is unauthorized"}

The rest of the API calls in my script are working fine but for some reason this one is getting an authorization failure with the same credentials.

Hi @Drums090,

I have so far not been able to recreate this issue. What version of CVP are you running and what version of cvprac do you have installed?

I am still unable to reproduce this issue. This error should only arise when the current session has timed out. Is there a lot of time between the different API calls in your script?

Could you provide some details of the script and/or some additional output?
The output from api method get_cvp_info?
The output from cvprac.__version__?