Skip to content

Commit 3865557

Browse files
authored
Add payload error message (#765)
1 parent 6b453d0 commit 3865557

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/testing/platform-limits.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Platform limits and requirements with Office Scripts
33
description: Resource limits and browser support for Office Scripts when used with Excel.
44
ms.topic: limits-and-quotas
5-
ms.date: 02/08/2024
5+
ms.date: 10/03/2024
66
ms.localizationpriority: medium
77
---
88

@@ -30,13 +30,15 @@ Excel on the web has the following limitations when making calls to the workbook
3030
- Requests and responses are limited to **5MB**.
3131
- A range is limited to **five million cells**.
3232

33+
When you exceed one of the Excel data limits, you receive this error message: "The response payload size has exceeded the limit."
34+
3335
If you're encountering errors when dealing with large datasets, try using multiple smaller ranges instead of larger ranges. For an example, see the [Write a large dataset](../resources/samples/write-large-dataset.md) sample. You can also use APIs like [Range.getSpecialCells](/javascript/api/office-scripts/excelscript/excelscript.range#excelscript-excelscript-range-getspecialcells-member(1)) to target specific cells instead of large ranges.
3436

3537
Excel limits that aren't specific to Office Scripts can be found in the article [Excel specifications and limits](https://support.microsoft.com/office/1672b34d-7043-467e-8e27-269d656771c3).
3638

3739
### Power Automate
3840

39-
The following limitations with the Power Automate platform are the ones you'll most likely encounter.
41+
The following limitations with the Power Automate platform are the ones you're most likely to encounter.
4042

4143
- Each user is limited to **1,600 calls** to the Run script action per day. This limit resets at 12:00 AM UTC.
4244
- There's a **120-second timeout** for [synchronous Power Automate operations](/power-automate/limits-and-config#timeout). For long-running scripts, you must either [optimize your script](../develop/web-client-performance.md) or [split your Excel automation into multiple script calls](../resources/samples/write-large-dataset.md#sample-2-write-data-in-batches-from-a-power-automate-flow).
@@ -89,7 +91,7 @@ Your browser needs third-party cookies enabled to show the **Automate** tab in E
8991

9092
[Conditional Access](/azure/active-directory/conditional-access/overview) policies restrict access to SharePoint and OneDrive for [unmanaged devices](/sharepoint/control-access-from-unmanaged-devices). If your device isn't managed by the tenant, you may not have access to specific scripts, or may only be able to access them through the browser.
9193

92-
If you script is blocked by Conditional Access policies, you'll receive one of two error messages. These messages also surface in Power Automate if your flow is run from an unmanaged device.
94+
If you script is blocked by Conditional Access policies, you receive one of two error messages. These messages also surface in Power Automate if your flow is run from an unmanaged device.
9395

9496
- "Due to organizational policies, you can’t access this resource from this untrusted device."
9597
- "We can't find this script. It may have been deleted by another user." (If your version of Excel is older.)

0 commit comments

Comments
 (0)