Skip to content

502 Bad Gateway when getting the dataset  #4

@roundlessx

Description

@roundlessx

Dear Professor, hello,

When I run the file : get_data.py, the code in line 20 :"r = requests.get(url+endpoints+page_id,auth=(api_token,"")).json()" throw the 502 Bad Gateway.

After some tries , I found it seems that when the page = 700~1346 , the url :https://ev.caltech.edu/api/v1/sessions/jpl/ts?page={i} always throws the 502 Bad Gateway. And maybe it is caused by ACN-data provider‘s server.

But when the page = 1~700, the url :https://ev.caltech.edu/api/v1/sessions/jpl/ts?page={i} works good.

Can I use the data in other available pages for this project? Does the data in other pages suits your code ?

Thank you dear Professor, May you have a good day!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions