Jump to content

ask error message for failed api


Recommended Posts

Hello, I am developing a module to create a service. I want when the API fails to create the service, it returns to the page with an error message and keeps the service pending.

Currently, I am having difficulty figuring out how to return to the page with an error message (if add service from admin) and keep the service pending if provisioning via the API fails. I hope you can help.

Screenshot from 2024-05-24 00-04-25.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...