<div dir="ltr">Hi<div><br></div><div>What should I expect when using this endpoint with other species than human:</div><div><br></div><div><a href="http://rest.ensembl.org/documentation/info/ld_region_get">http://rest.ensembl.org/documentation/info/ld_region_get</a><br></div><div><br></div><div>The returned errors do not seem to be consistent. Some expose internal errors even. I was expecting some error more specifically related to the invalid parameter.</div><div><br></div><div>Here's some examples:</div><div><br></div><div><b>Example 1</b></div><div><br></div><div><font face="courier new, monospace">* Endpoint:       <a href="https://rest.ensembl.org/ld/gorilla/rs1042779/1000GENOMES:phase_3:CEU?window_size=50;d_prime=0;r2=0">https://rest.ensembl.org/ld/gorilla/rs1042779/1000GENOMES:phase_3:CEU?window_size=50;d_prime=0;r2=0</a><br>* Status code:    400<br>* Error message: "Can't call method "max_snp_distance" on an undefined value at /nfs/public/release/ensweb/live/rest/www_97/ensembl-rest/lib/EnsEMBL/REST/Model/LDFeatureContainer.pm line 50.</font><br></div><div><br></div><div><b>Example 2</b></div><div><br></div><div><font face="courier new, monospace">* Endpoint:       <a href="https://rest.ensembl.org/ld/gorilla/region/1:1..10000/1000GENOMES:phase_3:CEU?d_prime=0;r2=0">https://rest.ensembl.org/ld/gorilla/region/1:1..10000/1000GENOMES:phase_3:CEU?d_prime=0;r2=0</a><br>* Status code:    400<br>* Error message: "Can't call method "db" on an undefined value at /nfs/public/release/ensweb/live/rest/www_97/ensembl-rest/lib/EnsEMBL/REST/Model/LDFeatureContainer.pm line 92.</font><br></div><div><br></div><div><b>Example 3</b></div><div><br></div><div><font face="courier new, monospace">* Endpoint: <a href="https://rest.ensembl.org/ld/fly/region/1:1..10000/1000GENOMES:phase_3:CEU?d_prime=0;r2=0">https://rest.ensembl.org/ld/fly/region/1:1..10000/1000GENOMES:phase_3:CEU?d_prime=0;r2=0</a></font></div><div><font face="courier new, monospace">* Status code: 500</font></div><div><font face="courier new, monospace">* Error message:  Error: lexical error: invalid char in json text.</font></div><font face="courier new, monospace">                                       <!DOCTYPE html>    <html lang="<br>                     (right here) ------^</font><div><br></div><div>Cheers,</div><div>RM</div></div>