typo in endpoint URL