--- title: "Does Resource Exist" slug: "does-resource-exist-1" updated: 2025-08-29T19:42:10Z published: 2025-08-29T19:42:10Z canonical: "documentation.decisions.com/does-resource-exist-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Does Resource Exist | Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 9.12.0 | | **Location** | Integration > MS OneDrive | The **Does Resource Exist** step will search OneDrive to determine if the specified file or folder exists. ### Prerequisites - This step requires the [MS OneDrive module](https://documentation.decisions.com/docs/msonedrive) to be [installed](https://documentation.decisions.com/docs/installing-modules-decisions) before it will be available in the toolbox. - A [dependency](https://documentation.decisions.com/docs/project-dependencies) must be created after installing the module in order for the the steps to be properly used. --- ## Properties #### Settings | Token | Description | Data Type | | --- | --- | --- | | Token | Establishes a connection to Microsoft OneDrive. | String | #### Inputs | Property | Description | Data Type | | --- | --- | --- | | File Or Folder Id | ID of the file or folder to check. | String | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Error Info | Returns information as to why the error occurred. | OneDriveErrorInfo | | Result | Returns completed result information. | OneDriveResourceType | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-08-06_11h26_07.png) --- ## Example Inputs and Outputs | File or Folder Id | Result | | --- | --- | | b!Eqwertyuiopasdfghjklzxcvbnm-7mnbvcxzlkjhgfdsapoiuytrewqk | true | | b!EbfpshekVdasdfghjklzxcvbnm-gdYjcF8Oap9FBgfdsapoiuytrewqk | false | --- ## Common Errors ### Could Not Find Token With Token Id If the token that was used to access OneDrive is not present or expired, the step will cause an error. To correct this, ensure the token used in this step is properly configured and active. #### Exception Message: ```csharp DecisionsFramework.Data.ORMapper.EntityNotFoundException: Can not find token with TokenId="" at Decisions.MSOneDrive.AbstractStep.FindAccessToken(String id) at Decisions.MSOneDrive.AbstractStep.Run(StepStartData data) ``` --- Related Information Related Articles: [MS Onedrive](https://documentation.decisions.com/docs/msonedrive)