Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api not found #428

Open
MusarrathS opened this issue Nov 14, 2017 · 4 comments
Open

api not found #428

MusarrathS opened this issue Nov 14, 2017 · 4 comments

Comments

@MusarrathS
Copy link

{"message":"Not Found","stack":"Error: API not found\n at APIError.ExtendableError (/home/syed/Documents/api/UserRole/dist/server/helpers/APIError.js:35:11)\n at new APIError (/home/syed/Documents/api/UserRole/dist/server/helpers/APIError.js:63:101)\n at /home/syed/Documents/api/UserRole/dist/config/express.js:122:13\n at Layer.handle [as handle_request] (/home/syed/Documents/api/UserRole/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/home/syed/Documents/api/UserRole/node_modules/express/lib/router/index.js:312:13)\n at /home/syed/Documents/api/UserRole/node_modules/express/lib/router/index.js:280:7\n at Function.process_params (/home/syed/Documents/api/UserRole/node_modules/express/lib/router/index.js:330:12)\n at next (/home/syed/Documents/api/UserRole/node_modules/express/lib/router/index.js:271:10)\n at Layer.handle [as handle_request] (/home/syed/Documents/api/UserRole/node_modules/express/lib/router/layer.js:91:12)\n at trim_prefix (/home/syed/Documents/api/UserRole/node_modules/express/lib/router/index.js:312:13)\n at /home/syed/Documents/api/UserRole/node_modules/express/lib/router/index.js:280:7\n at Function.process_params (/home/syed/Documents/api/UserRole/node_modules/express/lib/router/index.js:330:12)\n at next (/home/syed/Documents/api/UserRole/node_modules/express/lib/router/index.js:271:10)\n at /home/syed/Documents/api/UserRole/node_modules/express-winston/index.js:306:9\n at Layer.handle [as handle_request] (/home/syed/Documents/api/UserRole/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/home/syed/Documents/api/UserRole/node_modules/express/lib/router/index.js:312:13)\n at /home/syed/Documents/api/UserRole/node_modules/express/lib/router/index.js:280:7\n at Function.process_params (/home/syed/Documents/api/UserRole/node_modules/express/lib/router/index.js:330:12)\n at next (/home/syed/Documents/api/UserRole/node_modules/express/lib/router/index.js:271:10)\n at cors (/home/syed/Documents/api/UserRole/node_modules/cors/lib/index.js:179:7)\n at /home/syed/Documents/api/UserRole/node_modules/cors/lib/index.js:229:17\n at originCallback (/home/syed/Documents/api/UserRole/node_modules/cors/lib/index.js:218:15)"}

@dylanbromby
Copy link

What URL/endpoint are you trying to hit?

@MusarrathS
Copy link
Author

MusarrathS commented Nov 21, 2017 via email

@kartikwar
Copy link

Same issue for me . I am hitting the endpoint /api/{routename}/path. It says api not found

@aravindhkm
Copy link

@kartikwar how do fix this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants