api requires a provider