supertokens-node icon indicating copy to clipboard operation
supertokens-node copied to clipboard

Improved Error Handling for Unimplemented Backend Recipe

Open anku255 opened this issue 2 years ago • 0 comments

Currently, when an unimplemented recipeId (rid) is passed in the header, the middleware doesn't handle the request. It results in a generic 404 error, providing limited information.

Proposal: Enhance the middleware to return a more informative error message when a valid recipeId is passed but not implemented by the backend. The updated response will include the message: ${recipeId} is not implemented by the backend

anku255 avatar Nov 06 '23 18:11 anku255