Skip to main content
Applies to:
  • Plan -
  • Deployment -

Summary

Code-based scorers fail in online scoring rules with the error:
Even though the scorer tests successfully. This occurs when a code based scorer that was uploaded using an older Python SDK version that includes internal keys incompatible with the current runtime environment.

Resolution Steps

Step 1: Update the Python SDK

Upgrade to Python SDK version 0.5.2 or later.

Step 2: Re-upload the scorer

Upload the scorer again using the updated SDK version. The scorer code itself doesn’t need to change.

Step 3: Test the online scoring rule

Verify the scorer now works correctly in the online scoring rule without the pagination key error.