Skip to main content
Known Participant
Jul 18, 2021 10:59 AM UTC
Answered

FAIL: No updated allowed field found in annotation for given id 6497a0bf-b4ee-8d5b-8fh8-b9985989a91

Hi all,

I get this error when trying to update an annotation. I didn't change the user profile in between.

Any idea?

This is the object i send to the update func:

 

This topic is closed to new replies. Start a new post to keep the conversation going.
Sumona GhoshCorrect answer
Adobe Employee
Jul 19, 2021 8:15 AM UTC

bodyValue and strokeColor are the only two fields which can be updated for highlight annotations; updating other fields is not allowed. Your JSON object should contain the updated values of these fields when you call the updateAnnotation API. If the API detects that there is no updated value, then it shows this error.

 

For more details, please see the section Comments and Markup -> Basic APIs for commenting, in the documentation. You can also view the working code sample here.

 

Hope this helps!

 

4 replies

Sumona GhoshCorrect answer
Adobe Employee
Jul 19, 2021 8:15 AM UTC

bodyValue and strokeColor are the only two fields which can be updated for highlight annotations; updating other fields is not allowed. Your JSON object should contain the updated values of these fields when you call the updateAnnotation API. If the API detects that there is no updated value, then it shows this error.

 

For more details, please see the section Comments and Markup -> Basic APIs for commenting, in the documentation. You can also view the working code sample here.

 

Hope this helps!

 

Translate
Alon5FCDAuthor
Known Participant
Aug 30, 2021 12:04 PM UTC

I understand but why do i get an error if i update the annotation with same body & strokecolor values.

Translate
Adobe Employee
Aug 31, 2021 11:26 AM UTC

API will give this error if you don't send any updated values in these fields.

Translate