Solved

Push Notification Error for local instance URL

  • 20 October 2023
  • 3 replies
  • 83 views

Userlevel 2
Badge

Hi Community,

I have an issue with the Push Notifications it is not hitting in my local URL with Webhooks.
I’m able to add a new Push notificaition and configure the URL with the https://webhook.site/ and it is working fine and getting the updated details as shown below when making changes in Manufacturer tab.

 

Now I’m trying to do the same in my local in a ASP .NET Core Web API project I have written a small POST request and updated the URL in the Push notifications Tab, but every time I edit or add a new Manufacturer it is being listed in Process Push Notifications tab with an error message:

“Send to target TestWebhook failed. Message: Send to web hook fails. Error: An error occurred while sending the request.”

 

My local URL: https://localhost:7262/Manufacturer/PostManufacturerUpdate

 


 

Please let me know if I’m missing any steps or is there anyting wrong with my POST request or if there is any issue related to Webhooks so that I can resolve this issue.

Thanks in advance.!!!

icon

Best answer by DineshJ 3 November 2023, 12:43

View original

3 replies

Userlevel 7
Badge +4

Hi @DineshJ, Despite of the error, does the push notification make it to the webhook?

Also, did you try enabling Logging in SM205070 to see if you can find more stack that might help you narrow down to the issue? 

Also, you can share the package using which we could reproduce the issue. Thanks,  

Userlevel 4
Badge +2

Does your local url require https or http?

I am assuming you have your port configured to direct traffic through the firewall.

Userlevel 2
Badge

Hi Community,
Thank you for the replies, I have resolved the issue it was not hosted in my local IIS so it was unable to find the URL and thus unable to send the notification.
So instead I deployed to a test server and tried the same code which is working fine.

Thank you.

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved