Expand my Community achievements bar.

Don’t miss the Workfront AMA: System Smarts & Strategic Starts! Ask your questions about keeping Workfront running smoothly, planning enhancements, reporting, or adoption, and get practical insights from Adobe experts.

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 10

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