You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.
When deploying, i get the following error (seemed to happen after i did a function rename)
Could not subscribe the userMicroservice-dev-main function to the '/xxx-usermicroservice/' endpoint. A subscription for that endpoint and method already exists in another service. Please remove that subscription before registering this subscription.
When I then do a sls remove, I get this error
Failed to delete http.request event type due the error: Event type cannot be deleted because there are subscriptions using it.
My environment is as follows:
Your Environment Information -----------------------------
OS: darwin
Node Version: 8.11.3
Serverless Version: 1.30.0
May I also know how I can delete an app from the Dashboard? Thanks.
The text was updated successfully, but these errors were encountered:
functions:
getUser:
handler: handler.getUsers
name: "whoAmIsssssss" #update the name
events:
- eventgateway:
type: sync
eventType: http.request
path: /users/:id
method: GET
Run sls deploy
Error is displayed
Event Gateway Plugin
Serverless: WARNING: Inappropriate call of provider.request()
EventGateway: Function "getUser" registered. (ID: whoAmIs)
Error --------------------------------------------------
Could not subscribe the whoAmIs function to the '/huubaper-test/users/:id' endpoint. A subscription for that endpoint and method already exists in another service. Please remove that subscription before registering this subscription.
Run sls remove
Following error is displayed
Event Gateway Plugin
EventGateway: Subscription "user.created" removed from function: test-dev-emailUser
EventGateway: Subscription "http.request" removed from function: test-dev-createUser
EventGateway: Event Type "email.sent" removed.
Error --------------------------------------------------
Failed to delete http.request event type due the error: Event type cannot be deleted because there are subscriptions using it.
iirc, I've also encountered this issue when updating the handler name. Hope this helps.
johnlim
changed the title
Coud not subscribe to function from endpoint error
Event Subscription/Deletion bug
Aug 14, 2018
This is a Bug Report
When deploying, i get the following error (seemed to happen after i did a function rename)
When I then do a
sls remove
, I get this errorMy environment is as follows:
May I also know how I can delete an app from the Dashboard? Thanks.
The text was updated successfully, but these errors were encountered: