This topic contains 1 reply, has 2 voices, and was last updated by zebimax 6 years, 7 months ago.
- Topic
Hi OroCRM team,
There was created a custom field ‘accountType’ for ‘accounts’ with multi-select field type with some values. After I created account and assigned some ‘accountType’ for it and then was getting this data I got ‘accountaccounttypecd9a6594s’ data type for my ‘accountType’ field. So after I wanted to save data via API with JSON:
12345678910111213141516{"data": {"type": "accounts","attributes": {"name": "test name"},"relationships": {"accountType": {"data": [{"type": "accountaccounttypecd9a6594s","id": "buyer"}]}}}}and POST request URL: /api/accounts
so I got 403 an error:1'{"errors":[{"status":"403","title":"access granted constraint","detail":"You have no access to set this value.","source":{"pointer":"\\/data\\/relationships\\/accountType\\/data\\/0"}}]}'After I read about ACL I set it for ‘account’, but it did not help.
Can you, please, give me tips where I can be wrong?Additional information:
– Application: OroCRM, version 2.0.3
– Environment related information:
– Debian GNU/Linux 8 (jessie);
– PHP, version: 5.6.30-0+deb8u1Regards,
Andrii
The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.