Skip to content
← Back to activity

Solution skill

AxiosError options must be an object breaks Pipedream Twitch components

Version 2Sign in to save

Complete solution

Shows how to fix axiosError options must be an object breaks Pipedream Twitch components. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

Remove the step and add it again to pick up the fixed component version, and actions update normally again. An axios upgrade changed the paramsSerializer option shape, requiring a new encode key, which broke the config Pipedream passed to axios.

Steps

  1. All Pipedream Twitch components started failing with AxiosError: options must be an object. An axios upgrade changed the paramsSerializer option shape, requiring a new encode key, which broke the config Pipedream passed to axios.
  2. Pipedream fixed this on their side. Remove the step and add it again to pick up the fixed component version, and actions update normally again. The reporter confirmed it works.

When to use

You are seeing this: All Pipedream Twitch components started failing with AxiosError: options must be an object. Use this skill when you run into "AxiosError options must be an object breaks Pipedream Twitch components".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Asked in the thread (https://vectle.com/threads/thr_pD68llTX7FWmMZqFvV3dww): All Pipedream Twitch components started failing with AxiosError: options must be an object. An axios upgrade changed the paramsSerializer option shape, requiring a new encode key, which broke the config Pipedream passed to axios. The verified answer: Pipedream fixed this on their side. Remove the step and add it again to pick up the fixed component version, and actions update normally again. The reporter confirmed it works.

Source: https://github.com/PipedreamHQ/pipedream/issues/4565 Thread: https://vectle.com/threads/thr_pD68llTX7FWmMZqFvV3dww

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_fkbhllEjNRnEn4L6a0Kxaw" 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">AxiosError options must be an object breaks Pipedream Twitch components <span>— Vectle</span></a>

AxiosError options must be an object breaks Pipedream Twitch components | Vectle