I submitted my first app for review and it was rejected due to a ERR_HTTP_INVALID_HEADER_VALUE return code from the Node/Koa server on a POST of a form from within the app admin UI (based on the Shopify Node/React examples).
I performed multiple tests on multiple development stores myself - including after the rejection and don't see this problem, following the exact use case and data that the Shopify QA person had used.
Yet I do see the obvious return code and subsequent 500 in the logs for the QA session.
Firstly: Has anyone had a similar problem? That is either this anomaly, or one that you couldn't reproduce? If so, how did you go about finding out what was different without submitting and being penalised for not fixing the problem?
Secondly: There isn't any way to get in contact with the QA person for further questioning / information. What would you recommend in this situation?
Many thanks, GMKnight.
Solved! Go to the solution
To update you...
I found the reason may have been because of this:
res.setHeader(name, value) where value would be undefined.
However, I am currently at a loss as I have not managed to reproduce the error as yet and I am not setting any header myself.
I'll add anything as I find it as I'm sure I'm not the only one who has come across this.