Hi Shubham,
The ‘failed for security reasons’ message shows you that there is a conflict between the action the user is trying to perform, and the actual rights that the user has.
In order words: the user in question doesn't have the required rights to perform this action.
You should check the access rules of the entity in question, this will give you more insight on the actual cause of the security issue.
Hope this helps.