Can you share your backend API settings and settings from where you call it?

Seem you have a \n at the end of the request… probably not the correct name for your endpoint