René's URL Explorer Experiment


Title: File parameters not interpreted as files · Issue #60 · ConvertAPI/convertapi-library-node · GitHub

Open Graph Title: File parameters not interpreted as files · Issue #60 · ConvertAPI/convertapi-library-node

X Title: File parameters not interpreted as files · Issue #60 · ConvertAPI/convertapi-library-node

Description: There is a bug in the library when passing multiple files to the converter. For example, DOCX to Compare conversion takes two files as parameters: File and CompareFile. The File parameter is interpreted as a file and sent to CARA as a fi...

Open Graph Description: There is a bug in the library when passing multiple files to the converter. For example, DOCX to Compare conversion takes two files as parameters: File and CompareFile. The File parameter is interp...

X Description: There is a bug in the library when passing multiple files to the converter. For example, DOCX to Compare conversion takes two files as parameters: File and CompareFile. The File parameter is interp...

Opengraph URL: https://github.com/ConvertAPI/convertapi-library-node/issues/60

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"File parameters not interpreted as files ","articleBody":"There is a bug in the library when passing multiple files to the converter. For example, DOCX to Compare conversion takes two files as parameters: ```File``` and ```CompareFile```. The ```File``` parameter is interpreted as a file and sent to CARA as a file object. My guess is that the ```CompareFile``` is sent as a plain string (path to file) rather than the file itself.  Conversion results in the following error:\r\n\r\n```js\r\n data: {\r\n      Code: 5008,\r\n      Message: 'Unable to access the file. Call failed with status code 500 (Internal Server Error). Remote file C:/Projects/stuff/Test projects/ConvertAPI NodeJs/file-2.docx'\r\n }\r\n```\r\n\r\nCode snippet to replicate the issue:\r\n\r\n```js\r\nconst convertapi = require('convertapi')(secret);\r\nconvertapi.convert('compare', {\r\n\tFile: '/path/to/file-1.docx',\r\n\tCompareFile: '/path/to/file-2.docx',\r\n\t}, 'docx').then(function(res) {\r\n\t\tconsole.log(res);\r\n})\r\n```\r\n\r\nPlease note that there might be more conversions that accept multiple files as parameters, for example PDF watermark overlay (https://www.convertapi.com/pdf-to-watermark-overlay), so hardcoding the logic based on property name is not a good idea.\r\n","author":{"url":"https://github.com/kostas-jonauskas","@type":"Person","name":"kostas-jonauskas"},"datePublished":"2023-03-21T09:15:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/60/convertapi-library-node/issues/60"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e9ad1241-ef4a-f323-e589-95b824fb1f96
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id95DC:2E8DD4:29B43A:3807F6:697CEC2D
html-safe-noncef39a916adf4054625e9a8c460ce975dc0fa36a5cb4194de4e0fba70fa41d66e0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NURDOjJFOERENDoyOUI0M0E6MzgwN0Y2OjY5N0NFQzJEIiwidmlzaXRvcl9pZCI6IjQ1NzU5ODU4NzQwNzU3MDg0NjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5b9e7676038ba39bee9cee8c2bbe0b47fd50185a2d690d0429afb820efc4dbda
hovercard-subject-tagissue:1633496962
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ConvertAPI/convertapi-library-node/60/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bf4fa08701837348926cc5b1fe9a6c33a9a44fe43f12356cc015d514105d50d7/ConvertAPI/convertapi-library-node/issues/60
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bf4fa08701837348926cc5b1fe9a6c33a9a44fe43f12356cc015d514105d50d7/ConvertAPI/convertapi-library-node/issues/60
og:image:altThere is a bug in the library when passing multiple files to the converter. For example, DOCX to Compare conversion takes two files as parameters: File and CompareFile. The File parameter is interp...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekostas-jonauskas
hostnamegithub.com
expected-hostnamegithub.com
Nonedebf35e05f408e95650aacfde47554809b144e6456e89039cbec3c26cd1fc93c
turbo-cache-controlno-preview
go-importgithub.com/ConvertAPI/convertapi-library-node git https://github.com/ConvertAPI/convertapi-library-node.git
octolytics-dimension-user_id37071453
octolytics-dimension-user_loginConvertAPI
octolytics-dimension-repository_id140835661
octolytics-dimension-repository_nwoConvertAPI/convertapi-library-node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id140835661
octolytics-dimension-repository_network_root_nwoConvertAPI/convertapi-library-node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseefd4ca6943fce67a11235cf3699b1d8ffbf4a583
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/ConvertAPI/convertapi-library-node/issues/60#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FConvertAPI%2Fconvertapi-library-node%2Fissues%2F60
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FConvertAPI%2Fconvertapi-library-node%2Fissues%2F60
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=ConvertAPI%2Fconvertapi-library-node
Reloadhttps://github.com/ConvertAPI/convertapi-library-node/issues/60
Reloadhttps://github.com/ConvertAPI/convertapi-library-node/issues/60
Reloadhttps://github.com/ConvertAPI/convertapi-library-node/issues/60
ConvertAPI https://github.com/ConvertAPI
convertapi-library-nodehttps://github.com/ConvertAPI/convertapi-library-node
Notifications https://github.com/login?return_to=%2FConvertAPI%2Fconvertapi-library-node
Fork 17 https://github.com/login?return_to=%2FConvertAPI%2Fconvertapi-library-node
Star 51 https://github.com/login?return_to=%2FConvertAPI%2Fconvertapi-library-node
Code https://github.com/ConvertAPI/convertapi-library-node
Issues 1 https://github.com/ConvertAPI/convertapi-library-node/issues
Pull requests 2 https://github.com/ConvertAPI/convertapi-library-node/pulls
Actions https://github.com/ConvertAPI/convertapi-library-node/actions
Projects 0 https://github.com/ConvertAPI/convertapi-library-node/projects
Security 0 https://github.com/ConvertAPI/convertapi-library-node/security
Insights https://github.com/ConvertAPI/convertapi-library-node/pulse
Code https://github.com/ConvertAPI/convertapi-library-node
Issues https://github.com/ConvertAPI/convertapi-library-node/issues
Pull requests https://github.com/ConvertAPI/convertapi-library-node/pulls
Actions https://github.com/ConvertAPI/convertapi-library-node/actions
Projects https://github.com/ConvertAPI/convertapi-library-node/projects
Security https://github.com/ConvertAPI/convertapi-library-node/security
Insights https://github.com/ConvertAPI/convertapi-library-node/pulse
New issuehttps://github.com/login?return_to=https://github.com/ConvertAPI/convertapi-library-node/issues/60
New issuehttps://github.com/login?return_to=https://github.com/ConvertAPI/convertapi-library-node/issues/60
#64https://github.com/ConvertAPI/convertapi-library-node/pull/64
File parameters not interpreted as files https://github.com/ConvertAPI/convertapi-library-node/issues/60#top
#64https://github.com/ConvertAPI/convertapi-library-node/pull/64
https://github.com/laurynas-convertapi
bugSomething isn't workinghttps://github.com/ConvertAPI/convertapi-library-node/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/kostas-jonauskas
https://github.com/kostas-jonauskas
kostas-jonauskashttps://github.com/kostas-jonauskas
on Mar 21, 2023https://github.com/ConvertAPI/convertapi-library-node/issues/60#issue-1633496962
https://www.convertapi.com/pdf-to-watermark-overlayhttps://www.convertapi.com/pdf-to-watermark-overlay
laurynas-convertapihttps://github.com/laurynas-convertapi
bugSomething isn't workinghttps://github.com/ConvertAPI/convertapi-library-node/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.