Added query api errors and updated readme
Updated readme