Printing via printnode (Error 400): Bad Request

sfd_pl
New Member

I would like to do printing from my Appsheet and found printnode solution from DIY Replacement for Google Cloud Print (Shutting Down Today) - #63 by sfd_pl.

But I’m hit with error 400. See below.

3X_e_f_efe1e264372c6175f51804c171b6b4fe14e7eb1a.jpeg


3X_2_9_29076370c9e886a0fcf86c2d785030ce0e3b82fb.png

My end goal is to print barcode from my GoDex RT700iW label printer when i fire an instruction.

0 17 539
17 REPLIES 17

Steve
Platinum 4
Platinum 4

This will not work if used outside of AppSheet:

3X_3_8_386f9420f3601eabb220c5ae185bc0755132a56a.png

<<[Product ID]>> is a template instruction interpreted by AppSheet. Outside of AppSheet, it has no special meaning and will not be handled as AppSheet would. You cannot test the web hook using your testing tool with the template instruction.

Hi Steve,

I followed the @aijac1314 video. Below is the snapshot from his video(7:00)
3X_d_d_dd741c98e1a683489e1539c137490436af9ce9ea.png

Dear @sfd_pl , have you disable the “Require Image and File URL Signing”?

You can find the setting under Security → Options

Hi aijac1314,

Disabled. Still getting error 400

Can you access the link itself by just paste the addess in any browser?

3X_8_c_8ca4323795f821bbf1639e7ea04e72e3829787a1.png

This URL will never work if used outside of AppSheet. Even within AppSheet, the URL is only usable in very select places. Both of you have incorrect expectations.

Ok Steve, will manage my expectation

Have you come across any appsheet that have successful print via printnode??

What im trying to achieve to allow user to print barcode label of the selected item.

label will consist of 2 text field and 1 barcode.

Not to my recollection.

See also:
https://community.appsheet.com/search?q=printnode

Are you able to access the generated PDF file with the URL?

Can you share your URL?

I do try again with the demo program in the video, it is still working.

Make sure the URL is accessible with browser, like this:


Above is accessible file

Above is a non accessible file.

Hi,

Struggling to make this work too, I see this when I try to access the URL from a browser, i.e non-accessible.Screenshot 2023-01-03 at 18.20.07.pngI have disabled 'require Image and File URL Signing' and also updated the file on google drive to allow unrestricted access. 

Any other ideas to make the file accessible?

Any help gratefully received!

thanks

 

You may check the URL in BOT → MONITOR, as below:

hello, if i may ask too,
i got a similar problem error 400 bad request,
i tried to follow the instruction but cant access the generated PDF file with the URL, it showed "Bad Request".
what am i supposed to with that?

The same answer given above applies to you as well.

sfd_pl
New Member

Hi aijac1314,

Sorry for my much delay response over festive season.

My appsheet are not deployed at the moment. Does that have any impact?

My monitor page(Process> Steps> Detail)
3X_c_8_c88b4ffb6566cda9c586c11593c9e39995654204.png

My URL - https://www.appsheet.com/template/gettablefileurl?appName=Production-4995105&tableName=Label&fileNam...

I noticed you create a new virtual column for the URL.

Wishing you and family a happy new year ahead!!

3X_9_4_94e4044a1d6805af23ba7ac0f13bdcd7196a6728.png

This error indicates printnode.com is refusing your connection. You’ll need to get help from printnode.com for that.

Ok will check with printnode on this error

Top Labels in this Space