Announcement

Collapse
No announcement yet.

Assignment permission failure (Error code 403)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Assignment permission failure (Error code 403)

    Lead permissions granted for user. Can add contacts over the web. Can not add contacts via API.

    Log Detail;
    [2018-08-09 10:33:01] Espo.ERROR: API [POST]:/:controller, Params:Array ( [controller] => Lead ) , InputData: {"firstName":"test","lastName":"test"} - Assignment permission failure [] []
    [2018-08-09 10:33:01] Espo.ERROR: Display Error: Assignment permission failure, Code: 403 URL: /api/v1/Lead [] []


    Solution;
    Assignment Permission is set as a team. If you set this option to "All", it allows you to add via the API.
    But this is ridiculous. I do not want to change this setting. In such a case, it should not be added on the website either.

    Could you help me? Thanks.

  • #2
    Creation with API and in web uses one logic.
    It depends, on which user do you use for api and which one for web. Is assigned user (I don't see assignedUserId field) in the same team as logged user

    Comment


    • #3
      Thank you

      Comment

      Working...
      X