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

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

  • February 14, 2024
  • 1 risposta
  • 596 visualizzazioni

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

Questo argomento è stato chiuso alle risposte.

1 risposta

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