untoldone / bloomapi

Create APIs out of public datasources
https://www.bloomapi.com/documentation/public-data
MIT License
89 stars 29 forks source link

500 on specific website NPIs #65

Closed untoldone closed 9 years ago

untoldone commented 9 years ago

For example: /npis/1700097797 currently causes a 500 internal server errror.

untoldone commented 9 years ago

1306933650 does as well

sergeyltd commented 9 years ago

but API is working (http://www.bloomapi.com/api/npis/1700097797), looks like the result for this NPI(1700097797) does not have so many data as any other NPIs and front UI expect some special data which not exist

untoldone commented 9 years ago

@sergeyltd Yeah -- the UI expects an address to exist which appears to be missing from the API for these NPIs.

The address should be present on both of these NPIs via the API but they seem to be missing. The UI could more gracefully handle missing information as well.

untoldone commented 9 years ago

This was fixed by a number of recent commits in BloomAPI/ NPI. Fixes will be in next release.