Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

study_attribute entity type throws 500 error #2

Open
cboettig opened this issue Jun 20, 2017 · 2 comments
Open

study_attribute entity type throws 500 error #2

cboettig opened this issue Jun 20, 2017 · 2 comments

Comments

@cboettig
Copy link

Looks like any request I make against the study_attribute entity type endpoint throws an internal server error, (500). for example, this query:

https://www.movebank.org/movebank/service/direct-read?entity-type=study_attribute&study_id=2238275

throws a 500 error. I don't have trouble querying against other endpoints like study and taxon. Any idea why this is happening? Apologies if this is not the right place to report the error.

@xhdong-umd
Copy link

You need to add sensor_type_id like this:

https://www.movebank.org/movebank/service/direct-read?entity_type=study_attribute&study_id={{buffalo}}&sensor_type_id=653

You can find the sensor_type_id through other calls first.

It often require some hidden requirements not fully documented, though I think I have documented the most of them in the document.

You can have a look at my repo here, which have a collection of postman, included many tried and true examples.

screen shot 2017-08-25 at 2 22 11 pm

Note I have to remove some login info from the collection, see more details in the readme.md of my repo.

@xhdong-umd
Copy link

Yes, I did document this usage in another file

Need study_id and sensor_type_id in call. Get sensor_type_id from sensor call.

https://www.movebank.org/movebank/service/direct-read?entity_type=study_attribute&study_id=1764627&sensor_type_id=653

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants