We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
path segment ':id' conflicts with existing wildcard ':care_team_id' in path '/api/care_teams/:id
When I run the below command I get this error:-
command I run ./cmd/ie/ie -huddle ./config/multifactor_huddle_config.json -loadCodes _Successfully loaded ICD-9 codes from https://www.cms.gov/Medicare/Coding/ICD9ProviderDiagnosticCodes/Downloads/ICD-9-CM-v32-master-descriptions.zip Successfully loaded ICD-10 codes from https://www.cms.gov/Medicare/Coding/ICD10/Downloads/2016-Code-Descriptions-in-Tabular-Order.zip [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
[GIN-debug] GET /api/patients --> github.com/intervention-engine/ie/mongo.(*Services).MembershipService.func1.1 (4 handlers) [GIN-debug] GET /api/patients/:id --> github.com/intervention-engine/ie/mongo.(*Services).MembershipService.func1.1 (4 handlers) [GIN-debug] GET /api/care_teams/:care_team_id/patients --> github.com/intervention-engine/ie/mongo.(*Services).MembershipService.func1.1 (4 handlers) [GIN-debug] PUT /api/care_teams/:care_team_id/patients/:id --> github.com/intervention-engine/ie/mongo.(*Services).MembershipService.func1.1 (4 handlers) [GIN-debug] GET /api/care_teams --> github.com/intervention-engine/ie/mongo.(*Services).CareTeamService.func1.1 (4 handlers) [GIN-debug] POST /api/care_teams --> github.com/intervention-engine/ie/mongo.(*Services).CareTeamService.func1.1 (4 handlers) [GIN-debug] GET /api/care_teams/:id --> github.com/intervention-engine/ie/mongo.(*Services).CareTeamService.func1.1 (4 handlers) panic: path segment ':id' conflicts with existing wildcard ':care_team_id' in path '/api/care_teams/:id'
goroutine 1 [running]: github.com/intervention-engine/ie/vendor/github.com/gin-gonic/gin.(*node).addRoute(0xc000238840, 0xc00162a100, 0x13, 0xc000214720, 0x4, 0x4) /Users/pawannagar/go/src/github.com/intervention-engine/ie/vendor/github.com/gin-gonic/gin/tree.go:195 +0xa45 github.com/intervention-engine/ie/vendor/github.com/gin-gonic/gin.(*Engine).addRoute(0xc0004456c0, 0x1953981, 0x3, 0xc00162a100, 0x13, 0xc000214720, 0x4, 0x4) /Users/pawannagar/go/src/github.com/intervention-engine/ie/vendor/github.com/gin-gonic/gin/gin.go:191 +0x145 github.com/intervention-engine/ie/vendor/github.com/gin-gonic/gin.(*RouterGroup).handle(0xc001838080, 0x1953981, 0x3, 0x1953e1b, 0x4, 0xc001822080, 0x1, 0x1, 0xc000214701, 0xc001822080) /Users/pawannagar/go/src/github.com/intervention-engine/ie/vendor/github.com/gin-gonic/gin/routergroup.go:73 +0x1d3 github.com/intervention-engine/ie/vendor/github.com/gin-gonic/gin.(*RouterGroup).GET(0xc001838080, 0x1953e1b, 0x4, 0xc001822080, 0x1, 0x1, 0x1aaec80, 0xc001838080) /Users/pawannagar/go/src/github.com/intervention-engine/ie/vendor/github.com/gin-gonic/gin/routergroup.go:101 +0x7c github.com/intervention-engine/ie/web.RegisterCareTeamRoutes(0xc001838000, 0xc0003fc410) /Users/pawannagar/go/src/github.com/intervention-engine/ie/web/routes.go:82 +0x25b github.com/intervention-engine/ie/web.RegisterAPIRoutes(0xc0004456c0, 0x1aa8a60, 0xc001822000) /Users/pawannagar/go/src/github.com/intervention-engine/ie/web/routes.go:61 +0xfb main.main() /Users/pawannagar/go/src/github.com/intervention-engine/ie/cmd/ie/main.go:53 +0x332_
The text was updated successfully, but these errors were encountered:
No branches or pull requests
path segment ':id' conflicts with existing wildcard ':care_team_id' in path '/api/care_teams/:id
When I run the below command I get this error:-
command I run ./cmd/ie/ie -huddle ./config/multifactor_huddle_config.json -loadCodes
_Successfully loaded ICD-9 codes from https://www.cms.gov/Medicare/Coding/ICD9ProviderDiagnosticCodes/Downloads/ICD-9-CM-v32-master-descriptions.zip
Successfully loaded ICD-10 codes from https://www.cms.gov/Medicare/Coding/ICD10/Downloads/2016-Code-Descriptions-in-Tabular-Order.zip
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
[GIN-debug] GET /api/patients --> github.com/intervention-engine/ie/mongo.(*Services).MembershipService.func1.1 (4 handlers)
[GIN-debug] GET /api/patients/:id --> github.com/intervention-engine/ie/mongo.(*Services).MembershipService.func1.1 (4 handlers)
[GIN-debug] GET /api/care_teams/:care_team_id/patients --> github.com/intervention-engine/ie/mongo.(*Services).MembershipService.func1.1 (4 handlers)
[GIN-debug] PUT /api/care_teams/:care_team_id/patients/:id --> github.com/intervention-engine/ie/mongo.(*Services).MembershipService.func1.1 (4 handlers)
[GIN-debug] GET /api/care_teams --> github.com/intervention-engine/ie/mongo.(*Services).CareTeamService.func1.1 (4 handlers)
[GIN-debug] POST /api/care_teams --> github.com/intervention-engine/ie/mongo.(*Services).CareTeamService.func1.1 (4 handlers)
[GIN-debug] GET /api/care_teams/:id --> github.com/intervention-engine/ie/mongo.(*Services).CareTeamService.func1.1 (4 handlers)
panic: path segment ':id' conflicts with existing wildcard ':care_team_id' in path '/api/care_teams/:id'
goroutine 1 [running]:
github.com/intervention-engine/ie/vendor/github.com/gin-gonic/gin.(*node).addRoute(0xc000238840, 0xc00162a100, 0x13, 0xc000214720, 0x4, 0x4)
/Users/pawannagar/go/src/github.com/intervention-engine/ie/vendor/github.com/gin-gonic/gin/tree.go:195 +0xa45
github.com/intervention-engine/ie/vendor/github.com/gin-gonic/gin.(*Engine).addRoute(0xc0004456c0, 0x1953981, 0x3, 0xc00162a100, 0x13, 0xc000214720, 0x4, 0x4)
/Users/pawannagar/go/src/github.com/intervention-engine/ie/vendor/github.com/gin-gonic/gin/gin.go:191 +0x145
github.com/intervention-engine/ie/vendor/github.com/gin-gonic/gin.(*RouterGroup).handle(0xc001838080, 0x1953981, 0x3, 0x1953e1b, 0x4, 0xc001822080, 0x1, 0x1, 0xc000214701, 0xc001822080)
/Users/pawannagar/go/src/github.com/intervention-engine/ie/vendor/github.com/gin-gonic/gin/routergroup.go:73 +0x1d3
github.com/intervention-engine/ie/vendor/github.com/gin-gonic/gin.(*RouterGroup).GET(0xc001838080, 0x1953e1b, 0x4, 0xc001822080, 0x1, 0x1, 0x1aaec80, 0xc001838080)
/Users/pawannagar/go/src/github.com/intervention-engine/ie/vendor/github.com/gin-gonic/gin/routergroup.go:101 +0x7c
github.com/intervention-engine/ie/web.RegisterCareTeamRoutes(0xc001838000, 0xc0003fc410)
/Users/pawannagar/go/src/github.com/intervention-engine/ie/web/routes.go:82 +0x25b
github.com/intervention-engine/ie/web.RegisterAPIRoutes(0xc0004456c0, 0x1aa8a60, 0xc001822000)
/Users/pawannagar/go/src/github.com/intervention-engine/ie/web/routes.go:61 +0xfb
main.main()
/Users/pawannagar/go/src/github.com/intervention-engine/ie/cmd/ie/main.go:53 +0x332_
The text was updated successfully, but these errors were encountered: