Unexplained validations check

Describe the issue:

  • A writer encountered an error while trying to add a new “offer” record. It said that re-validation was currently running because of a schema change. But, no one is aware of any schema changes that have occurred, recently.

(Recommended) What’s the URL of the record or model in question?

  • Record id is: JJzPkIy0SCaUTg9jcO1LMQ in the “offer” model
  • Error occurred around 9:14 AM Central Time US

(Optional) Do you have any sample code you can provide?

Hi @jearle,

Sorry once more. It seems like you run into more than your fair share of obscure errors like this :frowning:

Would you happen to know what the editor was doing that led up to this error?

I searched our error logs, but unfortunately the only thing I could find that had that record ID seemed to be completely unrelated, and 15+ min after that time. By that time the record had already been made.

From what I can tell, item JJzPkIy0SCaUTg9jcO1LMQ does now exist in the offer model, but it wasn’t created until 9:17 or so CST. Did it automatically succeed after a couple of minutes, or did she have to try re-submitting it a few times…?

That error typically happens the schema of any related model changes, but without the audit log enabled on your project, I can’t see if anything actually happened then (sorry). In the code, it does look like there can also be an edge case causing this error where two record creations happen too quickly in time and both are checking against a uniqueness field constraint, but they are racing each other. I don’t see such a field in your offer model though, hmm… :thinking:

Has this happened before or since?

I’m really sorry that I don’t have any immediately useful insights to share here, but if you notice it more than once and are able to either identify some sort of pattern, or have error IDs, I’ll definitely pass it along.