question

Upvotes
Accepted
1 4 5 11

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.

Hello @Charles Hui

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

@Charles Hui

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvote
Accepted
32.2k 40 11 20

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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