Fixed problem with api credentials requiring values