Skip to main content
Known Participant
July 18, 2021
Answered

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

  • July 18, 2021
  • 1 reply
  • 730 views

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 has been closed for replies.
Correct answer Sumona Ghosh

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!

 

1 reply

Sumona GhoshCorrect answer
Adobe Employee
July 19, 2021

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!

 

Alon5FCDAuthor
Known Participant
August 30, 2021

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

Adobe Employee
August 31, 2021

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