Axios error: Cannot read property 'transitional' of undefined

We have 2 servers running the same NodeJS backend API with same Axios versions - 0.20.0 which we plan to upgrade soon. ONLY 1 of the servers, sometimes after deploy with github actions starts getting this error on a specific third party API POST request. We do not touch this property anywhere, and this started to be a problem a few months back.

Cannot read property 'transitional' of undefined

Anyone had experience with this? Would just upgrading Axios help?

We tried to reproduce this on different servers (API 2, staging and locally) but with no luck.


  • Seems like upgrading axios fixes the issue.