Resource name can only contain ASCII letters, numbers, and underscores

Hello, Am having an issue adding my endpoint.
Error: resource name can only contain ASCII letters, numbers, and underscores
Kindly help. Attached is the file with the error.

Can you clarify the question?

and your route has a forward slash in it

/results

if that’s what the question is about, change it to

results

I actually spotted the issue. I saved it before I could name my function.
Thank you so much for taking your part to respond