Commit 2beb2f5
committed
fix: rage4 - add error 400 and TXT cleanup
The following error happens if the header is set
to 'Content-Type: application/json':
{"statusCode":400,"message":"One or more errors occurred!",
"errors":{"serializerErrors":["The input does not contain
any JSON tokens. Expected the input to start with a valid
JSON token, when isFinalBlock is true. LineNumber:
0 | BytePositionInLine: 0."]}}
Fix TXT removal1 parent 65868ab commit 2beb2f5
1 file changed
+15
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
45 | 53 | | |
46 | 54 | | |
47 | 55 | | |
| |||
63 | 71 | | |
64 | 72 | | |
65 | 73 | | |
66 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
67 | 80 | | |
68 | 81 | | |
69 | 82 | | |
| |||
105 | 118 | | |
106 | 119 | | |
107 | 120 | | |
108 | | - | |
109 | | - | |
| 121 | + | |
110 | 122 | | |
111 | 123 | | |
112 | 124 | | |
| |||
0 commit comments