We're updating the issue view to help you get more done.Learn more

Download CSV file of Synapse Table - 416 error

A participant in the TESLA consortium is running the validator that I wrote locally for their files. They encounter this error with this query statement in the code. They have download access to the table. Why is there a 416 error?

1 2 3 4 5 6 7 8 9 10 11 12 metadataTable = syn.tableQuery('SELECT * FROM syn8292741') File "/usr/local/lib/python2.7/dist-packages/synapseclient/client.py", line 2866, in tableQuery return CsvFileTable.from_table_query(self, query, **kwargs) File "/usr/local/lib/python2.7/dist-packages/synapseclient/table.py", line 1094, in from_table_query includeRowIdAndRowVersion=includeRowIdAndRowVersion) File "/usr/local/lib/python2.7/dist-packages/synapseclient/client.py", line 2988, in _queryTableCsv 'TableEntity', cache_dir) File "/usr/local/lib/python2.7/dist-packages/synapseclient/client.py", line 1847, in _downloadFileHandle raise exc_info[0](exc_info[1]) synapseclient.exceptions.SynapseHTTPError: 416 Client Error: Requested Range Not Satisfiable <?xml version="1.0" encoding="UTF-8"?> <Error><Code>InvalidRange</Code><Message>The requested range is not satisfiable</Message><RangeRequested>bytes=35262-</RangeRequested><ActualObjectSize>35262</ActualObjectSize><RequestId>C928DDA3A53901F6</RequestId><HostId>wJF2G0WgsQbZ88nfQByarrS5SiGn23dlyeyPmRhDmpkbErKv0pfQCydI753IrJo4kJbh+Ltpy8U=</HostId></Error>

Status

Assignee

Ziming Dong

Reporter

Thomas Yu

Validator

Thomas Yu

Fix versions

Priority

Blocker