Skip to contentSkip to navigationSkip to topbar
Page tools
Useful for sharing or LLM
Accelerate development with AI

On this pageProducts used
Looking for more inspiration?Visit the
Error
Application error

61314: Invalid filename

Twilio TrustHub DocumentationTrustHub

Description

description page anchor

Twilio rejects the document upload when the filename contains a directory path. The filename must consist of the filename only, without any folder or path segments.

Possible causes

possible-causes page anchor
  • The filename contains path separators such as / or \, for example documents/passport.pdf or C:\Users\me\passport.pdf.
  • The filename contains relative path segments, such as ../.
  • Your application passes the full local file path instead of only the filename.
  • Remove any directory path from the filename and send only the base filename (for example, passport.pdf).
  • If your application builds the upload request from a local path, extract the base filename before sending it.