Skip to main content
Best answer

Signaturit 400 Bad Request: Wrong document list (application/octet-stream)


Hi, I have a document in base64 like ‘data:application/pdf;base64,{base64string}’ and I need it to use it in File parameter for creating a document in signaturit. I end up having a 400 bad request and signaturit says ‘wrong document list’ cause its application/octet-stream. Is any way around for this kind of stuff? Any help? Thank you

Best answer by Troy TessaloneBest answer by Troy Tessalone

@SSCC atsistemas 

The File field expects file objects or a file link, which is a public direct download url.

 

Help article about using files in Zaps: https://zapier.com/help/create/basics/send-files-in-zaps

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

5 replies

Troy Tessalone
Forum|alt.badge.img+14

Hi @SSCC atsistemas 

Good question.

Can you post screenshots with the error and how your Zap steps are configured?


Hi @Troy Tessalone 

 

The trigger is just receiving the data for the signature request, the second step is to treat the message received from the SNS, the third step is to make an API Request to get the pdf in base 64 and the fourth step is the screenshot and its where I’m trying to manage the base64 to actually send it to the fifth step.

 

 ​​​​​​
 

And this is the signaturit error from the API. I think the main error is the name of the document or de type, if you see the screenshot it says “application/octet-stream” and the name is the full text with “.txt” at the end, so I dont know how to proceed with this, I’d appreciate any help :)

 


Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30727 replies
  • Answer
  • October 5, 2023

@SSCC atsistemas 

The File field expects file objects or a file link, which is a public direct download url.

 

Help article about using files in Zaps: https://zapier.com/help/create/basics/send-files-in-zaps


Thank you @Troy Tessalone, I have configured a link to get the file and it works really well :)


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • 6301 replies
  • October 10, 2023

That’s great news @SSCC atsistemas! Big thanks to Troy for pointing you in the right direction!

If you have any other questions, please don’t hesitate to reach out to the Community. We’re always happy to help! 🤗