You need to sign in to do that
Don't have an account?
mukesh gupta
Task field update by API
Hi Expert,
I have a custom field on Task object, and now i want to update task by API. i have tried to update by Postman, but facing error.
Please suggest
Regards
Mukesh
I have a custom field on Task object, and now i want to update task by API. i have tried to update by Postman, but facing error.
{ "message": "insufficient access rights on object id", "errorCode": "INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY", "fields": [] }
Please suggest
Regards
Mukesh
Hi Mukesh,
This means you don't have access to Edit tasks. What profile are you using ? Check if you have "Edit Tasks" enabled on the profile.
Kindly check the user profile and check whether the user has access to insert/update that record. Even if the user has access, kindly check whether the user has access to update fields like record types, lookup field, master-detail field, etc.
An easy way to identify if the user has access or not is by running a SOQL query on UserRecordAccess object
Troubleshooting steps:
1. Make sure whether the user have access to record ids of the lookup fields and/or master-detail fields in the record.
2. Check the user Profile(CRUD Permissions).
3. Profile need to have access for the record types.
4. Record's OwnerId automatically gets share record when the record is inserted. If the apex code try to create the same(Share record for the owner) explicitly. This error occurs.