WSK API Create endpoint ceases to work after few days | Community
Skip to main content
vraghav
Adobe Employee
Adobe Employee
February 19, 2021
Question

WSK API Create endpoint ceases to work after few days

  • February 19, 2021
  • 1 reply
  • 2176 views

We've created a simple Adobe I/O Runtime action, developed using NodeJS, and successfully deployed our web push integration with Adobe Campaign Standard.
We used the Project Firefly template for the runtime project and used the Campaign STAGE instance for this integration.
The application uses serverless deploy method.

This is fine as expected and we are able to send web push notifications from our ACS instance

 

The issue we're facing is that "wsk api create" commands generate API endpoints that are only available for a few days, after we've noticed that the endpoint of the API returns the 404 exceptions, and again we need to redeploy the application and generate the API endpoint

 

When we've been observing the behaviors, it's basically changing the one alphabet at the endpoint. Rest remains the same. 
How do we generate a static endpoint which basically doesn't change dynamically? The thing is every time the endpoint changes we need to change the respective ACS workflow

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Adobe Employee
February 23, 2021

All apis created with `wsk api create` should remain unchanged indefinitely. Could you please share the I/O Runtime namespace, and one of the endpoints that returned 404? I'll do an investigation on what exactly happened.

vraghav
Adobe Employee
vraghavAdobe EmployeeAuthor
Adobe Employee
March 1, 2021

Hi @stanciu ,

 

Please find the requested details

 

Runtime namespace : 89800-acswebpushapp-stage

 

API End point that returned 404 : https://controller-gw-ns-team-ethos62prodaus5-runtime-prod-b.ethos62-prod-aus5.ethos.adobe.net/apis/89800-acswebpushapp-stage/acsutils/sendWebPushNotification

 

Please let us know if you need more information