Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

NotificationsCreate fails with status code 500

SmartConnector Forum

Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure Building
  • SmartConnector
  • SmartConnector Forum
  • NotificationsCreate fails with status code 500
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
JeffBowman
Sisko JeffBowman Sisko
164
ardak
ardak Schneider Alumni (Retired)
34
sesa180908_brid
Commander sesa180908_brid Commander
34
mike_meirovitz
Commander mike_meirovitz
21
View All
Related Products
product field
Schneider Electric
EcoStruxure™ Building Operation

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to SmartConnector Forum
mike_meirovitz
Commander mike_meirovitz
Commander

Posted: ‎2021-03-15 12:14 PM

0 Likes
7
858
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-03-15 12:14 PM

NotificationsCreate fails with status code 500

Hi,

 

Sometimes when our EBO OPC Server calls the NotificationCreate API, the returned status code is 500. Other calls with the same SubscriptionId returns status code 200. See below. 

 

No Error:

=======

21:04:32,742 [CM] INFO SEEwsRestApi - NotificationsCreate, SubscriptionId = '0b06b335-c830-42c2-a030-8b3ae3c7324c'
21:04:32,754 [CM] INFO SEEwsRestApi - NotificationsCreate pass, NotificationId = 'FD633AB5836541BBB5EB6D956F105B34'
21:04:32,756 [CM] INFO SEEwsRestApi - GetNotificationItems, NotificationId = 'FD633AB5836541BBB5EB6D956F105B34'
21:04:32,766 [CM] INFO SEEwsRestApi - GetNotificationItems, status code = 200, Response = '[]'
21:04:32,766 [CM] INFO SEEwsRestApi - GetNotificationItems, # of change items 0

 

Error:

======

21:04:34,344 [CM] INFO SEEwsRestApi - NotificationsCreate, SubscriptionId = '0b06b335-c830-42c2-a030-8b3ae3c7324c'
21:04:34,360 [CM] ERROR SEEwsRestApi - WebRequestPostData after GetResponse(), status code = InternalServerError 500
21:04:34,360 [CM] ERROR SEEwsRestApi - NotificationsCreate fail, rc = -1, status code = 500

 

Can someone explain this behavior? What is the meaning of status code 500? Why are we getting this status code?

 

Thank you.

 

Mike

 

 

  • Thumbnail of EcoStruxure™ Building Operation
    Schneider Electric
    EcoStruxure™ Building Operation
View products (1)
Tags (1)
  • Tags:
  • english
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
Replies 7
JeffBowman
Sisko JeffBowman Sisko
Sisko

Posted: ‎2021-03-15 12:19 PM

0 Likes
6
856
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-03-15 12:19 PM

Hi Michael,

 

500 is an HTTP "Internal Server Error", which is basically just a catch all. I would recommend turning on REST Serve, and EWS Consume logging in Smart Connector, and see what the Smart Connector log is actually returning.

 

Best Regards,

 

-Jeff

Tags (1)
  • Tags:
  • english
Reply
mike_meirovitz
Commander mike_meirovitz
Commander

Posted: ‎2021-03-15 12:27 PM

0 Likes
5
854
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-03-15 12:27 PM

Hi Jeff,

 

Thank you. We'll do.

 

Can you see an error in the attached log file?

 

Thanks.

 

Mike

Attachments
2021-03-15.log
Tags (1)
  • Tags:
  • english
Reply
mike_meirovitz
Commander mike_meirovitz
Commander

Posted: ‎2021-03-16 01:23 AM

0 Likes
4
851
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-03-16 01:23 AM

Hi Jeff,

 

After adding REST Serve and EWS Consume logging in Smart Connector, this is what I see in the SmartConnector log:

 

2021-03-16 09:12:12.1685,Error,EwsConsume,admin,The HTTP request is unauthorized with client authentication scheme 'Digest'. The authentication header received from the server was 'Digest realm="ews@SxWBM",qop="auth",algorithm="SHA-256",nonce="E3C71D3DF7BE771B154F605D5496E0434E642B147C003B0F85BB3D1DFE2AC58ECC6A4AE352C18399A19917AF",opaque="532720"'.
The remote server returned an error: (401) Unauthorized.

Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, WebException responseException, HttpChannelFactory`1 factory)
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Ews.Client.IDataExchange.GetNotification(GetNotificationRequest1 request)
at Ews.Client.DataExchangeClient.GetNotification(GetNotificationRequest request)
at Ews.Client.EwsClient.ExecuteAndLogCall[TRequest,TResponse](String methodName, TRequest request, Func`2 methodToLog)
,["GetNotification","352b0cc8-9a5e-4992-9327-2bae4a4aa440"],

 

See the attached SmartConnector log file.

 

Thank you.

 

Mike

Attachments
2021-03-16.zip
Tags (1)
  • Tags:
  • english
Reply
JeffBowman
Sisko JeffBowman Sisko
Sisko

Posted: ‎2021-03-17 09:24 AM

0 Likes
3
847
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-03-17 09:24 AM

Hi Michael,

 

What version of EBO is this happening on?

 

Best Regards,

 

-Jeff

 

Tags (1)
  • Tags:
  • english
Reply
mike_meirovitz
Commander mike_meirovitz
Commander

Posted: ‎2021-03-17 02:14 PM

0 Likes
2
844
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-03-17 02:14 PM

Hi Jeff,

 

The version is 2.4.25.

 

Thank you.

 

Mike

Tags (1)
  • Tags:
  • english
Reply
JeffBowman
Sisko JeffBowman Sisko
Sisko

Posted: ‎2021-03-18 09:50 AM

0 Likes
1
841
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-03-18 09:50 AM

Hi Michael,

 

That looks like a Smart Connector version, do you also have the EBO version?

 

Best Regards,

 

-Jeff

Tags (1)
  • Tags:
  • english
Reply
mike_meirovitz
Commander mike_meirovitz
Commander

Posted: ‎2021-03-18 03:13 PM

0 Likes
0
840
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-03-18 03:13 PM

Hi Jeff,

 

EBO version is 3.1.

 

Thank you.

 

Mike

Tags (1)
  • Tags:
  • english
Reply
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of