C
C
caesar_882020-05-31 19:12:26
Bitrix24
caesar_88, 2020-05-31 19:12:26

When calling entity.get , an error about insufficient rights occurs. Although all the checkboxes of the hook are checked. How to fix?

Here is the actual error:
Array
(
[error] => insufficient_scope
[error_description] => The request requires higher privileges than provided by the webhook token
)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yuri Paimurzin, 2020-05-31
@rusellsystems

If you create a webhook from a user with admin rights, then everything will be ok, in this case, the person who created the webhook does not have enough privileges

R
Roman, 2020-06-01
@Ramapriya

Entity, they are data stores - in fact, ordinary infoblocks that are available only to applications that create them.
For example, if you install some application in a box that uses data storage, they will be created in the MP applications entity storage section.
Webhooks do not have access to data stores. I don’t know where you found data storages in the list of rights, they shouldn’t be there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question