You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've added .default per #1 and updated the metrics per #3 in this code already. I did add an await before api.getJSON(), since that returns a promise.
As best as I can tell from debugging this, the error seems to come from the axios call in this.head(), triggered at the end of getJSON, when the API returns status code 204. Wasn't able to solve the problem though.
As a workaround, calling getCSV doesn't have this problem (because it doesn't make a HEAD request).
The text was updated successfully, but these errors were encountered:
While attempting to use this in Node (14.13.1 FWIW), I get the following error...
...with the following code:
I've added
.default
per #1 and updated the metrics per #3 in this code already. I did add anawait
beforeapi.getJSON()
, since that returns a promise.As best as I can tell from debugging this, the error seems to come from the axios call in this.head(), triggered at the end of getJSON, when the API returns status code 204. Wasn't able to solve the problem though.
As a workaround, calling
getCSV
doesn't have this problem (because it doesn't make a HEAD request).The text was updated successfully, but these errors were encountered: