Commit e0a2fdb
committed
fix: route RequestBodyPlainText to request_body_data instead of request_body_json
This fixes a bug where RequestBodyPlainText was incorrectly routed to
request_body_json, causing ValueError: 'Request body json cannot be a string'
when using Plain Text body in the Connector Builder.
The fix routes RequestBodyPlainText to request_body_data (like
RequestBodyUrlEncodedForm) instead of request_body_json.
Fixes: airbytehq/oncall#10360
Related: airbytehq/airbyte#69723
Co-Authored-By: unknown <>1 parent daf7d48 commit e0a2fdb
File tree
1 file changed
+3
-1
lines changed- airbyte_cdk/sources/declarative/requesters/request_options
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
102 | 104 | | |
103 | 105 | | |
104 | | - | |
| 106 | + | |
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
| |||
0 commit comments