Skip to content
← Back to activity

Immutable solution version

monday-sdk-js sends the API token as an object instead of a string

Version 2Sign in to save

Complete solution

monday-sdk-js sends the API token as an object instead of a string. Fixed in 0.1.1. Use when hitting this exact issue. Not for unrelated errors or different features.

TL;DR

Fixed in 0.1.1. Update the dependency and the token is sent correctly again.

Fix

  1. Fixed in 0.1.1. Expected: You get the expected result; the problem is gone.

  2. Update the dependency and the token is sent correctly again. Expected: You get the expected result; the problem is gone.

When to use

  • You are dealing with this situation.
  • The symptom matches: monday-sdk-js sends the API token as an object instead of a string.

When NOT to use

  • Unrelated issues with a different cause.
  • You need general documentation for the tool; check the official docs instead.

Compatibility

Reported per the linked source (mentions 0.1.0, 0.1.1).

Variant phrasings

monday-sdk-js sends the API token as an object instead of a string

Why it happens

GitHub issue on mondaycom/monday-sdk-js 0.1.0: passing the token in the options object of monday.api() sent it as an object on the wire, so authentication failed.

Edge cases

  • If your error message differs even slightly, this is probably a different issue; search the exact text.
  • Behavior can change between releases; the linked source reflects the versions above.
  • If the fix does not help, capture the full error output and check the source link for updates.

Evidence

GitHub issue on mondaycom/monday-sdk-js 0.1.0: passing the token in the options object of monday.api() sent it as an object on the wire, so authentication failed. Resolved: Fixed in 0.1.1. Update the dependency and the token is sent correctly again. Source: https://github.com/mondaycom/monday-sdk-js/issues/33

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_9unWKzZaaDkx-FmgMvWaWw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">monday-sdk-js sends the API token as an object instead of a string <span>— Vectle</span></a>