_functions-dev WORKS / _function DOESN'T

I’ve created a get callback function just for test, and it work fine when I send GET method with

https://www.mysite.com/_functions-dev/test

Then I clicked on Publish to update the main site… and I tried to do the same with this url

https://www.mysite.com/_functions/test

And I got 404 Not Found response from the server

=========================================================
export function get_test ( request ) {
const response = {
“headers” : {
“Content-Type” : “application/json”
}
};
response.body = {
“product” : “GET RECIBIDO OK”
};

**return**  ok ( response ); 

}

Any Idea ???

Hi there …

Both endpoints work for me, please check if you have errors in your monitoring tools, and reach out to Wix Customer Care if the errors seem unrelated to your code.