- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Notification Id Items not found
Hello
Third party company is using SmartConnector to pull data from EBO ES. Normally it will work correcty but some times there is error message in smartconnector log.
EwsConsume,user,Invalid subscription
RestServe,user,{"Message":"Notification Id Items not found"}
This can happend 10 times per day for this one third party company. What would be reason for this error message? What should I look at EBO ES?
I have attach log.txt to this post.
--
Esa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Hi Esa,
This one was tricky 🙂
It seems like the integrator, probably by accident, is sending "Items" as a Notification Id to the GET /Notifications/{Id} endpoint.
Please ask them to check their code to see if there is any place this could happen.
BR
Armend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Hello
I think problem is that notification ID is empty. So maybe program need to wait little bit or there is actual empty response from SmartConnector. There is no log entry for 'notification create response' when there is error. If they are not going to get ID then they will call {{base_url}}/Notifications//Items then Smartconnector resolves that items is the ID.
Error:
2021-09-22 09:57:16.4009,Debug,RestServe,user,Notifications,Create,86FC89E9B2D1430FA54A90060A6E186B,Request,{"Item":{"SubscriptionId":"b290d476-fa3c-4a6e-844b-dd395f11cca9","ChangesOnly":false}},
2021-09-22 09:57:16.5103,Debug,RestServe,user,Notifications,RetrieveById,3E2E890FA3D3437A9128BD2DF253BF23,Request,{"Id":"Items"},
2021-09-22 09:57:16.5103,Error,RestServe,user,{"Message":"Notification Id Items not found"},
Working:
2021-09-22 09:57:16.9165,Debug,RestServe,user,Notifications,Create,BC65A2CD414D4FF497B441A350A223AC,Request,{"Item":{"SubscriptionId":"2e9eb9ec-3636-48c7-bf0e-dca2aaeb3da2","ChangesOnly":false}},
2021-09-22 09:57:16.9478,Debug,RestServe,user,Notifications,Create,BC65A2CD414D4FF497B441A350A223AC,Response,{"SubscriptionId":"2e9eb9ec-3636-48c7-bf0e-dca2aaeb3da2","CreatedOn":"2021-09-22T06:57:16.9165939Z","NotificationItemCount":50,"Id":"E2274593CC5248128314079A2F039CAA"},
2021-09-22 09:57:16.9478,Info,RestServe,user,Notifications,Create,ET=31 mSec,
2021-09-22 09:57:16.9790,Debug,RestServe,user,Notifications,RetrieveNotifications,A9B69A8C8D2543E4B62009BE005562BD,Request,{"Id":"E2274593CC5248128314079A2F039CAA","Take":200,"Skip":0},
--
Esa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Hi Esa,
Not entirely sure what you're saying here, but in your logs you have it laid out clearly.
In the error example, you send in "Items" (as a string) as a Notification Id, it's not empty.
2021-09-22 09:57:16.4009,Debug,RestServe,user,Notifications,Create,86FC89E9B2D1430FA54A90060A6E186B,Request,{"Item":{"SubscriptionId":"b290d476-fa3c-4a6e-844b-dd395f11cca9","ChangesOnly":false}},
2021-09-22 09:57:16.5103,Debug,RestServe,user,Notifications,RetrieveById,3E2E890FA3D3437A9128BD2DF253BF23,Request,{"Id":"Items"},
2021-09-22 09:57:16.5103,Error,RestServe,user,{"Message":"Notification Id Items not found"},
If you supply the full debug or trace logs it might give us a clue to why that's happening.
BR
Armend
