I am using salesforce iOS sdk in my project. I am creating a record in my local db and update another record . Now i am trying to sync up my records to salesforce server. I am getting error.
"soupName" : "Attachment" } cause:Server call for sync up failed errorError Domain=https://ev.cs16.my.salesforce.com/services/data/v39.0/sobjects/Attachment/00Pf00000030kVhEAI Code=400 "(null)" UserInfo={error=( { errorCode = "INVALID_FIELD_FOR_INSERT_UPDATE"; fields = ( ParentId ); message = "Unable to create/update fields: ParentId. Please check the security settings of this field and verify that it is read/write for your profile or permission set."; } )}