Fixed a bug for users who arent able to make certain API calls