VATUSA / api

VATUSA's RESTful API for facilities
https://api.vatusa.net
MIT License
3 stars 10 forks source link

500 error when pulling roster #35

Closed iccowan closed 5 years ago

iccowan commented 5 years ago

https://api.vatusa.net/v2/facility/ztl/roster?apikey=[API_Key]

{"status":"error","msg":"Trying to get property 'id' of non-object","exception":"ErrorException"}

Returned with a 500 error.

iccowan commented 5 years ago

Change: this only occurs when using the sandbox API key. It does not appear to work anymore.

bnahin commented 5 years ago

Fixed in #36. API Sandbox/Testing is a work in progress, so using this key currently has no effect (changes are still persisted to the database).