I'm getting 422 error when I try to create note by using Custom API module | Community
Skip to main content
sethuanand2626
Level 3
February 14, 2024
Question

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

  • February 14, 2024
  • 1 reply
  • 533 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

lgaertner
Level 9
February 14, 2024

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