I'm getting the below error while I use the API https://developer.adobelaunch.com/api/reference/1.0/rule_components/create/ even though I send the correct structure for the payload using python as mentioned in the link.
"errors": [{
"code": "invalid-rule",
"title": "Invalid rule",
"detail": "can\'t be blank",
"source": {
"pointer": "/data/attributes/rule"}
Please note that the data/attributes/rule is not part of the attributes or the request response.
Can you please help in this regard to eliminate this error?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Parvesh_Parmar Yes, I had a look at it. The structure of 'rules' is under 'relationships' and not 'attributes'. But the source pointer says 'data/attributes/rule' , hence, I've a question if the schema is not updated to include 'rule' in 'attributes' ? Or is there anything else that's missed out?
Thanks!
Views
Replies
Total Likes
Hello @swirl1,
Did you check the following documentation? There they explained the meaning of each parameter of response.
Error Handling | Adobe Experience Platform
In your request, you send the data in following format:
Therefore source pointing to that one.
Thanks.
Parvesh.
Views
Replies
Total Likes
Hi @Parvesh_Parmar Yes, I had a look at it. The structure of 'rules' is under 'relationships' and not 'attributes'. But the source pointer says 'data/attributes/rule' , hence, I've a question if the schema is not updated to include 'rule' in 'attributes' ? Or is there anything else that's missed out?
Thanks!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies