CAVEclient
CAVEclient copied to clipboard
500 Server error in materialize
I have a 500 server error when I access the table list using the materialize.get_tables()
function.
url = "https://global.brain-wire-test.org/"
datastack = "h01_c3_flat"
client = CAVEclient(datastack_name=datastack, server_address=url)
client.materialize.get_tables()
HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: https://local.brain-wire-test.org/materialize/api/v3/datastack/h01_c3_flat/version/377/views content:b'<!doctype html>\n<html lang=en>\n<title>500 Internal Server Error</title>\n<h1>Internal Server Error</h1>\n<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>\n'
I could access info functions such as client.info.get_datastack_info("h01_c3_flat")
.
From the error log, https://local.brain-wire-test.org/materialize/api/v3/datastack/h01_c3_flat/version/377/views
returns internal server error, but with /tables
endpoint correctly returns the table list.
Additional info: We currently use the spatial_aligned_svid_lookup
branch rather than the master
branch.