Issues with axios.create function in latest version 10.0.5 #75

Closed
opened 2026-04-05 16:18:49 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @luisxkimo on 2/19/2026

Describe the bug
Custom Javascript Monitors fails with customization of "axios" client.

Error: axios.create is not a function

To Reproduce
Steps to reproduce the behavior:

  1. Create new "Custom Javascript Monitor"
  2. Add code with customization of axios client like this:
const instance = axios.create({
  httpsAgent: new https.Agent({  
    rejectUnauthorized: false
  })
});

Expected behavior
No issues with this code as previous versions

Screenshots
If applicable, add screenshots to help explain your problem.

Version

API: 10.0.5
Dashboard: 10.0.5

Self-hosted installation (Community edition). Installed via HELM

*Originally created by @luisxkimo on 2/19/2026* **Describe the bug** Custom Javascript Monitors fails with customization of "axios" client. Error: `axios.create is not a function` **To Reproduce** Steps to reproduce the behavior: 1. Create new "Custom Javascript Monitor" 2. Add code with customization of axios client like this: ```js const instance = axios.create({ httpsAgent: new https.Agent({ rejectUnauthorized: false }) }); ``` **Expected behavior** No issues with this code as previous versions **Screenshots** If applicable, add screenshots to help explain your problem. **Version** API: 10.0.5 Dashboard: 10.0.5 Self-hosted installation (Community edition). Installed via HELM
MrUnknownDE added the bugbugbugbugbugbugbugbugbugbugbugbugbug labels 2026-04-05 16:18:49 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#75