ODPS REST API set autope

On ODPS REST API, our application got intermittent denied "DENIED: DACSLOCK item is invalid"

They just need to do entitlement check on ELEKTRON which is content-based service on TREP.

Do they need to set autope as true?

Tagged:

Best Answer

  • zoya faberov
    zoya faberov ✭✭✭✭✭
    Answer ✓

    Hello @Charles Hui ,

    My understanding is, the app is running subscriptionTest via ODPS.

    This forum is targeted at OpenDACS API usage, rather then ODPS requesting, however, I think the primary consideration underneath would be the same for the two:

    autope.gif

    Determining the behavior of subscriptionTest:

    • If you intend the DACS lock to be retrieved from infra and permissions verified against that - set AutoPe to True
    • The DACS lock needs to be passed into subscriptionTest call for AutoPe to be set to False.

    Hope this helps