Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
In Reply to David Cornwell:
<blockquote>
Hi Haven,
I have been testing with a text custom field (just a regular text box). I can set it with any text I like - no problems.
However, if I try to PUT a blank value I get the following error:
" class ": " com.attask.common.ValueRequiredException " " message ": " A value is required for Customer Name. It cannot be an empty value. "
If I try to pass the word "Null" or "null" or "NULL", it just stores that in the text box.
Interestingly, if I instead try to update a Drop-Down Custom Field, I can send a blank value and it removes whatever was previously selected. This is what I want to do with the regular text field (and probably what Katherine is trying to do).
Regards, David
</blockquote>
Hi David, The error here states that a value is required for your field "Customer Name." It is correct that the API is blocking you from saving any empty value. If you were to look at that field via the UI, you would see the "Make a required Field" as checked (screenshot attached). For the Drop-Down field, check to see if it is required or not. If it is not required, I would expect an empty string to work here. A 'null' would not work here, as it would instead look for an option by the name of "null."
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies