# ValueError("Invalid value") in basedatatypes.py

**URL:** <https://community.plotly.com/t/valueerror-invalid-value-in-basedatatypes-py/55993>\
**Category:** Dash Python\
**Created:** [August 27, 2021, 11:18pm UTC](https://community.plotly.com/t/valueerror-invalid-value-in-basedatatypes-py/55993 "2021-08-27T23:18:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Tobs](https://avatars.discourse-cdn.com/v4/letter/t/6de8d8/32.png) [@Tobs](https://community.plotly.com/u/Tobs)\
**Post date:** [October 18, 2021, 7:29am UTC](https://community.plotly.com/t/valueerror-invalid-value-in-basedatatypes-py/55993/3 "2021-10-18T07:29:59Z")

</div>

I am encountering this issue as well while using Plotly (5.3.1) with Dash (2.0.0). I checked all the data points that I supply to the graph, and they are all `float` values, i.e. should all be valid. So I have no clue how to debug this other than joining the above users.

There are other reports of this issue:

> [@Unknown 'InvalidValue' Error](https://community.plotly.com/t/unknown-invalidvalue-error/55040):
>
> Hi everybody! I faced an inconsistent error while updating dcc.Graph with px.scatter object via callback. It happens right after I run my app and push the button triggering the dcc.Graph update so that it is obviously connected to scatter plot initialization. But the error occurs randomly, sometimes my app works regularly. Once I face the error, the app goes OK then. It really seems to be similar to this case: My callback code… @app.callback( Output('Scatter\_plot', 'figure'), Outp…

> [@Inconsistent Callback Error Updating Scatter Plot](https://community.plotly.com/t/inconsistent-callback-error-updating-scatter-plot/46754):
>
> Hey everyone, I’m having a hard time determining the source of a callback error as it only occurs a small percentage of times during app initialization. The error can occur for any of my graphs but I’ve shared the relevant code for the simplest callback below. import dash import dash\_html\_components as html import pandas as pd import dash\_core\_components as dcc import dash\_html\_components as html import dash\_bootstrap\_components as dbc from dash.dependencies import Input, Output, State from da…

---

_[View the full topic](https://community.plotly.com/t/valueerror-invalid-value-in-basedatatypes-py/55993)._
