1

when i am trying to insert data into dataextension using rest api thats always show error.how to fix that

Api Doc: https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/putDataExtensionRowByKey.htm

Put Url : https://www.exacttargetapis.com/hub/v1/dataeventsasync/key:4D58A264-3B49-44C4-A350-14D2D0A7D39B/rows/CustomerID:123

Post Data : { "values":{ "Interest":"1et.com" } }

In Header i provide AccessToken Also

Response will be: { "message": "Primary key 'CustomerID' does not exist.", "errorcode": 10000, "documentation": "" }

But i have CustomerID as a Primary Key on that Data Extension

enter image description here

Total Records In DE: enter image description here

  • Comments are not for extended discussion; this conversation has been moved to chat. – Adrian Larson May 30 '18 at 14:43
  • Hi, were you able to resolve the error? – user36778 Dec 7 '18 at 15:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.