We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b8a0aa commit 58e40c1Copy full SHA for 58e40c1
plotly/plotly/plotly.py
@@ -1484,15 +1484,7 @@ def get_grid(grid_url, raw=False):
1484
1485
# make request to grab the grid id (fid)
1486
r_meta = requests.get(meta_get_url, headers=headers)
1487
-
1488
- # check if request is ok
1489
- if not r_meta.ok:
1490
- raise exceptions.PlotlyError(
1491
- "Whoops, you got a 404 response. {} may be "
1492
- "pointing to a plot rather than a grid. If it is a grid, make "
1493
- "sure your grid is 'public' and not 'private' or "
1494
- "'secret'.".format(grid_url)
1495
- )
+ r_meta.raise_for_status()
1496
1497
json_res_meta = json.loads(r_meta.text)
1498
retrieved_grid_id = json_res_meta['fid']
0 commit comments