forwardemail / forwardemail/superagent

request.field('test', 'str') throwing error Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'.

Open
#1,749 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
16.6k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

I am getting error from version 7.1.1. On older versions works fine.

Contributor guide

Open the contributing guide

Research direction

Start at the request.field('test', 'str') entry point and reproduce the failure with version 7.1.1, comparing it with an older working version. Trace the FormData append call and identify the expected handling for string values. Done means the reported request no longer throws the Blob type error and the existing behavior remains covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.