SAP Knowledge Base Article - Preview

3204092 - destination file error. [CrystalEnterprise.GoogleDrive]: [Failed to write to the specified directory] error occurs when scheduling to Google Drive

Symptom

  • Scheduling to Google Drive as a destination results in a Failed Schedule with the following error:
    destination file error. [CrystalEnterprise.GoogleDrive]: [Failed to write to the specified directory]

  • In the AJS (Adaptive Job Server) logs, the following error is seen:
    destination_googledrive: failed to upload the file to the Drive

  • In the fiddler logs (steps to trace in solution) the following error is seen:
    HTTP 403 for the URL https://www.googleapis.com/upload/drive/v3/files?uploadType=multipart with the following response:

    {
    "error": {
      "errors": [
       {
        "domain": "usageLimits",
        "reason": "accessNotConfigured",
        "message": "Access Not Configured. Drive API has not been used in project <PROJECTID> before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/drive.googleapis.com/overview?project=<PROJECTID> then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
        "extendedHelp": "https://console.developers.google.com/apis/api/drive.googleapis.com/overview?project=<PROJECTID>"
       }
      ],
      "code": 403,
      "message": "Access Not Configured. Drive API has not been used in project <PROJECTID> before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/drive.googleapis.com/overview?project=<PROJECTID> then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."
    }


Read more...

Environment

  • SAP BusinessObjects Business Intelligence Platform 4.3 SP02+
  • Google Drive
  • Windows
  • Linux / Unix 

Product

SAP BusinessObjects Business Intelligence platform 4.3

Keywords

KBA , BI-BIP-PUB , Publishing and scheduling in InfoView/BI launch pad , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.