Dataiku SharePoint job is successful but shows errors in logs

SanderVW
SanderVW Registered Posts: 52 ✭✭✭✭

Hello, I have set up a SharePoint connection which can read and write files. Everything seems to work well, it's able to read data from and write output to SharePoint. But when we look at the logs there are a lot of warnings and errors, though the job is marked as successful.

Every job (reading and writing) gives the following warning about four times per log:

[15:46:59] [WARN] [dip.oauth2] - Refresh token rotation detected but connection 'connection_name' doesn't declare it. Subsequent requests for access tokens by 'user_name' may fail

Writing jobs give the following error:

[15:47:00] [ERROR] [dku.sharepointonline] - Error while Checking in file /folder_name/file_name.xlsx
com.dataiku.dss.shadelib.com.microsoft.graph.http.GraphServiceException: Error code: invalidRequest
Error message: The file is not checked out.

POST https://graph.microsoft.com/v1.0/sites/[URL]:/microsoft.graph.checkin
SdkVersion : graph-java/v5.41.0
[...]

400 :
[...]

[Some information was truncated for brevity, enable debug logging for more details]
at com.dataiku.dss.shadelib.com.microsoft.graph.http.GraphServiceException.createFromResponse(GraphServiceException.java:419)
at com.dataiku.dss.shadelib.com.microsoft.graph.http.GraphServiceException.createFromResponse(GraphServiceException.java:378)
at com.dataiku.dss.shadelib.com.microsoft.graph.http.CoreHttpProvider.handleErrorResponse(CoreHttpProvider.java:512)
at com.dataiku.dss.shadelib.com.microsoft.graph.http.CoreHttpProvider.processResponse(CoreHttpProvider.java:442)
at com.dataiku.dss.shadelib.com.microsoft.graph.http.CoreHttpProvider.sendRequestInternal(CoreHttpProvider.java:408)
at com.dataiku.dss.shadelib.com.microsoft.graph.http.CoreHttpProvider.send(CoreHttpProvider.java:225)
at com.dataiku.dss.shadelib.com.microsoft.graph.http.CoreHttpProvider.send(CoreHttpProvider.java:202)
at com.dataiku.dss.shadelib.com.microsoft.graph.http.BaseRequest.send(BaseRequest.java:335)
at com.dataiku.dss.shadelib.com.microsoft.graph.requests.DriveItemCheckinRequest.post(DriveItemCheckinRequest.java:54)
at com.dataiku.dip.connections.SharePointOnlineConnection$SharePointOnlineClient.checkInFile(SharePointOnlineConnection.java:884)
at com.dataiku.dip.connections.SharePointOnlineConnection$SharePointOnlineClient$2.close(SharePointOnlineConnection.java:957)
at com.dataiku.dip.recipes.export.ExportRecipeRunner.runLocally(ExportRecipeRunner.java:207)
at com.dataiku.dip.recipes.export.ExportRecipeRunner.run(ExportRecipeRunner.java:106)
at com.dataiku.dip.dataflow.jobrunner.ActivityRunner$FlowRunnableThread.run(ActivityRunner.java:422)

Like I said the connection functions just fine but these logs are unexpected. Are these messages impactful or can they be ignored?

We are on DSS version 13.4.1.

Operating system used: Linux

Answers

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,368 Dataiker

    The "Error message: The file is not checked out " can be safely ignored as long as the file is actually created and the recipe completes successfully.

    This error can be caused by a specific versioning configuration on the SharePoint site; however, it generally does not affect the outcome of the process. If you wish to open a support ticket and share screenshots of the SharePoint site Settings page, and then click on "Versioning settings"? versioning configuration and job diagnostics of the successful job with the error, so we can investigate further.

Setup Info
    Tags
      Help me…