Forums

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

Confiform Rest API to update a field value

JJ Fang
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!
May 13, 2026

I am trying to use the Confiform Rest API (https://wiki.vertuna.com/spaces/CONFIFORMS/pages/70582777/ConfiForms+Server+REST+API+version+1) to update an existing field value. The actual URL I was using is:

PUT /rest/confiforms/1.0/updateFieldValue/<pageId>/<formName> -H "Content-Type: application/json" -d '{"fields":{"<fieldName":"value"}}'

I got the following response: 

{"result":"Backend exception. Caused by Cannot read the array length because \"fieldAndValues\" is null"}

It is possible that my HTTP PUT body data structure was not what was expected by the ConfiForm backend. Can you provide a sample URL and JSON structure? 

My Confiform version is 3.21.7, and Confluence version is 9.2.5 (DataCenter)

Thank you very much!

1 answer

1 accepted

1 vote
Answer accepted
Alex Medved _ConfiForms_
Community Champion
May 13, 2026

It does not expect the body, but requires a "fv" parameter

/rest/confiforms/1.0/updateFieldValue/{pageId}/{formName}?query={filter}&fv=fieldvalue:value

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events