question

Upvotes
Accepted
1 1 5 10

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?

DACSopen-dacs
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvote
Accepted
31.6k 37 11 19

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


autope.gif (11.9 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.