Workato · SAP connector

Cannot invoke IDocTypeBean.getSegMap() because "selected" is null

Short answer

This error means the agent tried to create a trigger before it finished retrieving metadata from SAP. Wait 90 seconds for the on-prem agent to retrieve the metadata, then try again.

VerifiedLast verified

01Error text

Workato error
Cannot invoke "com.workato.agent.sap.impl.json.IDocTypeBean.getSegMap()" because "selected" is null

02Likely causes

  • The agent creates a trigger before metadata retrieval from SAP completes.

03How to fix it

  1. Wait 90 seconds for the on-prem agent to retrieve metadata.
  2. Start the recipe again.

iNotes

Workato refreshes IDoc metadata every 24 hours by default. Change it with metadata_refresh_interval in the SAP connection profile.

04Official documentation

Test every fix in a non-production environment before you apply it to production. See how entries are verified.

More for Workato work:Open Workato jobsWorkato rates and salariesHire a senior Workato developer

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.