I want to add some note to stream of certain records in a custom entity, via api.
The example in https://docs.espocrm.com/development/api/stream/ works right for original entities like Task or Case, but return a 403 error in my custom entity.
Is an entity of type 'event' and role permissions are ok for api agent (maybe some field 'read only'?).
msg.payload = {"parentId":"63c543711ff192376","parentType":"P edi do","post":"This is a test","data":{},"type":"Post"};
connection: "close"
x-status-reason: "No create access."
statusCode: 403
In fact same records are actually created and modified by API, so I don't think is some permissions issue.
The example in https://docs.espocrm.com/development/api/stream/ works right for original entities like Task or Case, but return a 403 error in my custom entity.
Is an entity of type 'event' and role permissions are ok for api agent (maybe some field 'read only'?).
msg.payload = {"parentId":"63c543711ff192376","parentType":"P edi do","post":"This is a test","data":{},"type":"Post"};
connection: "close"
x-status-reason: "No create access."
statusCode: 403
In fact same records are actually created and modified by API, so I don't think is some permissions issue.
Comment