Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error when calling updateFieldValue for Confiforms API V1 using PAT Token

Zachary Clark
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 11, 2024

Hi all - I am receiving the error "You are not allowed to change the field in this record (record is not owner by your or is readonly after registration" when using 

rest/confiforms/1.0/updateFieldValue

I am an admin of this form, so should be able to make these edits without the error, right? I am authenticating user a PAT with the following requests string in python.

 

updated = "https://myhost/confluence/rest/confiforms/1.0/updateFieldValue/Updated:Yes?fv=Updated:No&skipIFTTTExecute=true"
updates_response = requests.request("PUT", updated, verify=False, headers=headers)

1 answer

1 accepted

3 votes
Answer accepted
Alex Medved _ConfiForms_
Community Champion
September 11, 2024

The error message is shown when you you are not the admin of the form, or you are not the owner of the record, and therefore cannot change,  or the form is set to be "read-only" after the registration

Zachary Clark
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 11, 2024

Hi Alex - Thanks for the quick response! It seems I needed to refresh the PAT token and now it is working as expected.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events