I have an API function that renders a PDF, sends it to S3, sends an email with a link to the PDF. It worked 6 months ago. I “archived” the function by moving the .js file out of the api
directory. I have moved it back to the API directory and redeployed the site on Gatsby Cloud. I now get a 404 every time I try to call the API endpoint with the exact same frontend code as before (also archived and restore) Why am I getting 404 responses from Gatsby Cloud?
EDIT: Additional details: I see the functions in Gatsby cloud, but the show that they are never called. I have deployed a hello
API function (return 200 + {hello:“world”} response) and get the same error