Workday errors in plain English.

Submit an Error
errors / studio / studio-store-step-invalid-schema-duration-null

Studio Store Step Fails with Invalid Schema Duration PnullD

✓ Verified Workday Studio 6 lookups
The error com.capeclear.mediation.MediationException: store.step.problem: cloud, OBFUSCATED_TENANT_ID_UNAVAILABLE Root Cause: com.capeclear.serialization.types.TypesException: Invalid Schema duration 'PnullD'. Error at position 1.

What it means

The Store step serializes a message field typed as an XML duration before persisting it. If the value feeding that field is actually null at runtime, Studio's serializer builds the literal string "PnullD" instead of a valid ISO 8601 duration, and schema validation then rejects it as invalid rather than treating it as empty.

Troubleshooting

  1. Log the value going into the duration-typed field immediately before the Store step, don't assume the field is populated just because earlier steps ran without error.
  2. Trace back to where that duration value is calculated or mapped from, a null source field (a missing report column, an unmapped XSLT variable) is the usual root cause, not the Store step itself.
  3. Check whether the source data legitimately has no duration for some records, if so the mapping needs a null-safe default rather than passing the null straight through to a duration type.
  4. Reproduce with a single record that has the missing field to confirm the fix before re-running the full integration.
⚡ Quick fix

Add a default duration value (or skip the field entirely) in the mapping step feeding the Store step so a null never reaches the duration-typed field.

✓ Permanent fix

Add a null-check or XSLT default on any field mapped to a duration type upstream of a Store step, so a missing source value produces a valid empty duration instead of the literal string "PnullD".

Was this helpful?

Related errors