Notebook created from sharepoint is not reflected in graph api immediatly - sharepoint

Onenote notebook created by navigating to ${site.webUrl}/_layouts/15/groupstatus.aspx?Target=NOTEBOOK is not getting reflected in GET /groups/{id}/onenote/notebooks call
Notebook is available online at ${site.webUrl}/_layouts/15/groupstatus.aspx?Target=NOTEBOOK url
Status propagation takes seconds to hours to get notebook status in Graph API
Sometime Notebook is available sporadically i.e. it is available in one call but not in the next call. On further investigation server is different for pass/failed calls according to x-ms-ags-diagnostic header

Related

Some API's are failing with TestCafe framework due to which data is not rendering on UI

I am using testcafe with typescript to automate the CRM application .At one point when i click on a button it is redirecting me to a new page where we have multiple API calls which renders data on UI .One API is failing everytime with automation whereas it is passing with manual.I connected with one of the developer and he confirm that data is being returned via the AJAX call. However the TestCafe test-framework proxy called hammerhead.js is throwing an exception with the message :
ERR_EMPTY_RESPONSE. I have tried everything i.e timeout , ajax timeout , hard wait but didn't get anything fruitful.
Network response
Data is not populating underUpdates from portal whereas it is working fine with rest other section as mentioned in picture

Microsoft Graph APi Excel : Session creation with long-running operation pattern (when and how to do it)

I have been using Microsoft graph API to create/update/delete rows in Excel files.
However, my requests need processing of tens of thousands of records. Which is by default not supported by Microsoft graph API.
In order to do this we have to request workbook-session-id and use it to make a call to graph api for requests comprising of loads of rows.
However, When I try to Request for Workbook-session-id after multiple poling requests also the request fails to respond with a workbook-session-id and I am not able to leverage this feature.
Can Anyone help me resolve this
As MS graph API after the first poll fails to give success and ends up giving me error({"error":{"code":"LostDepartedOperation","message":"We're sorry. We ran into a problem completing your request.","innerError":{"code":"notFoundUncategorized","message":"The requested resource cannot be found.")

Confused if WebJob is failing or not

Just created a new WebJob that runs every two hours and I'm confused if it's succeeding or failing.
It makes an API call to a third party app and processes some data internally based on the API call results. Currently, no data available on third party API so I can't tell if it's truly failing or not.
As you can see, the bird's eye view shows it as failing -- see below:
If I click the particular run that seems to have failed, I get this screen which is even more confusing. At the top, it says failed but right next to the actual run, it shows success. Which is the case here?

ERROR 503 from haveibeenpwned API

I wrote Python code that retrieves API json data from the haveibeenpwned v2 API. The code has been working flawlessly for a month or so but now when I run the code I get ERROR 503.
I searched online for the error code to my understanding this is usually caused by temporary overloading or maintenance on the server so I tried waiting. I've waited about a week trying 5-10 times a day and get the same error every time.
I used the requests Python module to retrieve the json data and to print the status code. If I get error 404 I know that the information isn't there and it goes through the loop until I get the 200 status code.
print(r.status_code)
Could this be a problem I can solve on my side or should I try to contact the owner of the API.
Edit: I realized that the website recently implemented CloudFlare DDoS protection. Could that impact the way I am trying to retrieve the data?

Google Weather API returns HTTP 403 Error

I use the Google weather API in my web site, and today I get an error that the API link doesn't return any data.
When I check the link directly I get an (Error 403).
Here is the link.
Can anyone please tell me a solution for this and provide me another link for the API?
Every now and then the API stops working for short periods of time, the last days more often a 403 is trown. For my site, last night it happened 13 times. But the site tries immediately again and the second or third time, the data loads without problems. As the API is unofficial, not sure what’s causing the 403.
Make sure you cache the data as the API will block your IP temporary when you make too much requests. In my case, I cache for 20 minutes and if no data can retrieved, the site will not try more than 10 times to reload the API. Once I forgot to turn caching on after debugging and as my site did many hundred requests (with every visitor), the IP was blocked within an hour. If a remember correct, the error was not a 403. Fortunately, the block lasts for less than a half day.
There is currently an intermittent 403 Forbidden response to the Google Weather API that you are using. See Google Weather API 403 Error
The reason for the intermittent 403 response is not known but has been a problem since the 7th of August 2012.

Resources