Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fromUrl doesn't work when passing urls to PDF files? #237

Open
davidawad opened this issue Aug 15, 2023 · 0 comments
Open

fromUrl doesn't work when passing urls to PDF files? #237

davidawad opened this issue Aug 15, 2023 · 0 comments

Comments

@davidawad
Copy link

Hey there, I'm getting errors when calling textract with a URL to a PDF file.

This is a PDF file URL for a file stored in S3.
any idea what could be happening there? I'm assuming this was probably tested pretty well so I'm not sure what to be thinking about here.

    textract.fromUrl(fileURL, textractConfig, (error: Error | null, text: string | null) => { 
    . . . 

This is my config object:

const textractConfig = {
  preserveLineBreaks: true,
};

thanks for any help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant