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
Unable to publish custom adapter Chargebee Demo1: Syntax ... [["method require not allowed", 1, 0, 1, 16]] ... Can not publish adapter with code errors02Likely causes
- The connector code contains syntax errors, and the command output relays them.
- In the docs' example,
method require not allowedis one error at line 1, positions 0 to 16.
03How to fix it
- Read the array in the output. Each item gives the message, line and character positions.
- Fix the code at those positions.
- Run
workato pushagain.
04Official documentation
→Related errors
- VCR::Errors::UnhandledHTTPRequestErrorThis RSpec error means VCR could not match the connector's HTTP request to any recorded interaction. Record new interactions with VCR_RECORD_MODE=once, or relax the request matching in spec_helper.rb.
- Undefined method for nil:NilClassUndefined method for nil:NilClass means a formula ran on a datapill that had no value at runtime. Add the & safe navigation operator to the formula, for example [Datapill]&.capitalize, so it is skipped when the datapill is null.
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