on 11-07-2023 9:51 AM
Hello All,
We are attempting to send a notification from a CAP application to the Workzone notification. We followed the documentation exactly as shown below.
https://help.sap.com/docs/build-work-zone-standard-edition/sap-build-work-zone-standard-edition/enab...
However when we configure the destination we get 401 unauthorized when we test it from the destination configuration.
We even attempted to trigger the notification from the CAP application and still get the authorization error.
PS: We just regenerated the credentials and updated the destination end point and it still does not work.
Best Regards,
Pavan
sap-btp-co.png
Hi Pavan,
the connection test in the destination UI is unfortunately not very reliable. I would suggest you try the credentials first with this REST Client Script (after maintaining the values in a .env file):
https://github.com/gregorwolf/bookshop-demo/blob/main/tests/notification.http
and then consume it in your CAP app using this NPM Module:
https://github.com/cap-js/notifications
Best Regards
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.