Expand my Community achievements bar.

I'm getting 422 error when I try to create note by using Custom API module

Avatar

Level 3

I'm getting 422 error when I try to create "Note" by using Custom API module

 

ERROR: [422] APIModel V17_0 does not support field refObjCode (Note)

 

Attached screenshot for reference

1 Reply

Avatar

Level 9

Hello Seth,

 

the error message is a bit misleading.

But you will need to post an ID (topObjID) of the object the note should be attached to as well as the object type (topNoteObjCode).

 

 "body": {
   "noteText": "Test 001",
   "topObjID": "<object_id>",
   "topNoteObjCode": "TASK",
   "json": "{}"
}

 

 

Regards

Lars