Skip to content

Conversation

@chris-freeman-glean
Copy link
Contributor

Fix file upload 400 error by removing incorrect '[]' suffix from multipart form field names.

The Glean API expects file uploads with the field name 'files'. The SDK was incorrectly appending '[]' to array file field names (e.g., 'files[]'), causing the server to reject the request.


Open in Cursor Open in Web

Learn more about Cursor Agents

Co-authored-by: chris.freeman <chris.freeman@glean.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants