Skip to content

Commit d2b9b74

Browse files
authored
fix: Malformed request error (#2846)
## Description Provide a concise summary of the changes made in this pull request - ## Pull request type Check the appropriate box: - [ ] Review Fixes - [ ] Documentation Overhaul - [ ] Feature/Story - Link one or more Engineering Tickets * - [ ] A-Force - [ ] Error in documentation - [ ] Maintenance ## Documentation tickets Link to one or more documentation tickets: - ## Checklist From the below options, select the ones that are applicable: - [ ] Checked for Grammarly suggestions. - [ ] Adhered to the writing checklist. - [ ] Adhered to the media checklist. - [ ] Verified and updated cross-references or added redirect rules. - [ ] Tested the redirect rules on deploy preview. - [ ] Validated the modifications made to the content on the deploy preview. - [ ] Validated the CSS modifications on different screen sizes.
1 parent 47bbb1d commit d2b9b74

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

website/docs/help-and-support/troubleshooting-guide/action-errors/datasource-errors.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,34 @@ messageContent="Secret key is required when sending session details is switched
3737
This message indicates that `Send Appsmith signature header` field has been marked as `Yes` but the `Session Details Signature Key` field is left empty.
3838

3939
This error can be resolved by filling in the `Session Details Signature Key` field or by disabling the `Send Appsmith signature header` field by selecting `No`.
40+
41+
## Malformed request error
42+
43+
<Message
44+
messageContainerClassName="error"
45+
messageContent="malformed request"
46+
/>
47+
48+
This message appears when authorizing a Google Sheets datasource with selected sheet access on a self-hosted Appsmith instance.
49+
50+
#### Cause
51+
52+
This issue occurs when the self-hosted Appsmith instance is not configured with SSL (HTTPS).
53+
54+
Google’s File Picker API requires a secure connection to return the selected sheet identifiers. In the absence of HTTPS, the request to the file picker fails, resulting in a malformed request error. As a fallback, Appsmith proceeds to authorize access to all sheets, even if only specific sheets were selected during the authorization flow.
55+
56+
57+
#### Solution
58+
59+
To resolve this issue, ensure that your self-hosted Appsmith instance is configured to use HTTPS by setting up a custom domain and installing an SSL certificate.
60+
61+
See how to [Configure a custom domain and SSL certificate](/getting-started/setup/instance-configuration/custom-domain).
62+
63+
Once HTTPS is enabled, the Google File Picker will function correctly, and access will be granted only to the selected sheets as expected.
64+
65+
66+
67+
68+
69+
70+

0 commit comments

Comments
 (0)