The error message that these calls return is There was an error while running your query. We've logged the error and we'll correct it ASAP. Sorry for the inconvenience.
Almost all API uses are for endpoints that require geography, so I don't think it should necessarily be removed as a required argument. Perhaps this could be handled internally - if the endpoint name is in this list, don't pass for. Maybe.
I will also raise with the Census team to see if this can be fixed, or at least given a more useful error message.
A few API endpoints do not allow using geography and break if you try to use one, including setting
for=us:*
.The error message that these calls return is
There was an error while running your query. We've logged the error and we'll correct it ASAP. Sorry for the inconvenience.
Almost all API uses are for endpoints that require geography, so I don't think it should necessarily be removed as a required argument. Perhaps this could be handled internally - if the endpoint name is in this list, don't pass
for
. Maybe.I will also raise with the Census team to see if this can be fixed, or at least given a more useful error message.