cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ODATA error troubleshooting

hk_kpleung
Member
0 Likes
867

Would like to know if there any document can help to understand the error message return from OData service.

I got this error when imported interaction to P-system using OData, I have no idea what does this mean...

"errordetails": [
  {
    "code": "CUAN_API/009",
    "message": "Import cannot have duplicate operations CREATE for entity Interaction with same key",
    "longtext_url": "/sap/opu/odata/iwbep/message_text;o=LOCAL/T100_longtexts(MSGID='CUAN_API',MSGNO='009',MESSAGE_V1='CREATE',MESSAGE_V2='Interaction',MESSAGE_V3='EECA43563A2A38D0B781AB479A09C5D7',MESSAGE_V4='')/$value",
    "propertyref": "",
    "severity": "error",
    "transition": false,
    "target": ""
  }
]

Accepted Solutions (0)

Answers (1)

Answers (1)

nicolae_ciumac
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,

as the message says, you have a duplicate interaction in your payload - so basically you can't import twice the same interaction in the same payload of the same request.

Best regards,

Nico