I am unsure what http status code to return when a customer calls my API, but the requested action cannot be completed for reasons that the customer can fix.
In this case, the http request itself may be fine, but it will not succeed until the customer logs into the front end and updates their configuration. (I will return a body with some informative message to indicate this.)
Is 412 - Precondition Failed - appropriate for this case?