Try running my code and if it does not work you should be exploring the areas where you API work correctly.