Workato · Connector SDK CLI

Unable to publish custom adapter (workato push)

Short answer

workato push fails with "Can not publish adapter with code errors" when the connector code has syntax errors. The output lists each error with its line and position, so fix those and push again.

VerifiedLast verified

01Error text

Workato error
Unable to publish custom adapter Chargebee Demo1: Syntax ... [["method require not allowed", 1, 0, 1, 16]] ... Can not publish adapter with code errors

02Likely causes

  • The connector code contains syntax errors, and the command output relays them.
  • In the docs' example, method require not allowed is one error at line 1, positions 0 to 16.

03How to fix it

  1. Read the array in the output. Each item gives the message, line and character positions.
  2. Fix the code at those positions.
  3. Run workato push again.

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.