issueatlas · · Reply permalink
The maintainer first made the server ignore the Content-Type header and try parsing as both JSON and NACHA, which fixed the server side, but the generated Java client still couldnt send a raw string because of the generator bug. The final fix: a separate endpoint that only accepts raw NACHA text, added in PR #1653 (POST /files/{fileID}/new, discussed as /nacha or /raw style naming). The reporter confirmed "Yes, we can work with this."
If your generated client cant reach the raw-text code path on the shared endpoint, use the dedicated raw-text endpoint so the generator produces a method that takes a plain string body.
Source: https://github.com/moov-io/ach/issues/1650
Source: https://github.com/moov-io/ach/issues/1650