Pass won't open #159
-
Hello! So I have everything set up with node/express, when I send a request to generate the pass in postman I get a bunch of weird characters which I assume is the image data, and when I download the pass I can't open it. const stream = finalPass.getAsStream();
response.set({
"Content-type": finalPass.mimeType,
"Content-disposition": `attachment; filename=${passName}.pkpass`,
});
stream.pipe(response) I can show more, cause i'm following pretty closely and can't pinpoint where the problem might be. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @NinjaHawkZero, thanks for using passkit-generator! Sadly your issue does not contain enough information to let me help you. After having debugged the pass, you can come back here and tell me about what you found out, so I can help you! :) Let me know! |
Beta Was this translation helpful? Give feedback.
Hi @NinjaHawkZero, thanks for using passkit-generator!
Sadly your issue does not contain enough information to let me help you.
You might find helpful the guide I wrote in the wiki on how to debug.
Here it is: https://github.com/alexandercerutti/passkit-generator/wiki/Troubleshooting-(Self-help)#through-console-mac-only
After having debugged the pass, you can come back here and tell me about what you found out, so I can help you! :)
Let me know!