fix mistype in api call method, added file with errors