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

Deployment error "Invalid request: should be object" #43013

Open
1 task done
silvioprog opened this issue Nov 16, 2022 · 2 comments
Open
1 task done

Deployment error "Invalid request: should be object" #43013

silvioprog opened this issue Nov 16, 2022 · 2 comments
Labels
examples Issue was opened via the examples template. stale The issue has not seen recent activity.

Comments

@silvioprog
Copy link
Contributor

silvioprog commented Nov 16, 2022

Verify canary release

  • I verified that the issue exists in the latest Next.js canary release

Provide environment information

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 21.6.0: Thu Sep 29 20:13:56 PDT 2022; root:xnu-8020.240.7~1/RELEASE_ARM64_T6000
Binaries:
  Node: 16.13.0
  npm: 8.19.2
  Yarn: 1.22.19
  pnpm: 7.3.0
Relevant packages:
  next: 13.0.3
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0

Which example does this report relate to?

with-postgres

What browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

Vercel

Describe the Bug

When trying to deploy the example using the button Deploy and pass the environment variable DATABASE_URL, it raises the following error Invalid request: should be object:

Screen Shot 2022-11-16 at 7 06 37 PM

Expected Behavior

It should deploy the application properly.

To Reproduce

Click to the button Deploy available here, the pass this value: postgresql://user:pass@host/user/database?ssl=false.

⚠️ NOTE: this value is just a sample, but I have been trying a real value and having the same error. ⚠️

@silvioprog silvioprog added the examples Issue was opened via the examples template. label Nov 16, 2022
@silvioprog
Copy link
Contributor Author

silvioprog commented Nov 16, 2022

Note: if you add the same variable DATABASE_URL with the suggested sample value (or a real value) to the Vercel Settings or GitHub Secrets, it works like a charm.

@vercel-release-bot
Copy link
Collaborator

This issue has been automatically marked as stale due to two years of inactivity. It will be closed in 7 days unless there’s further input. If you believe this issue is still relevant, please leave a comment or provide updated details. Thank you.

@vercel-release-bot vercel-release-bot added the stale The issue has not seen recent activity. label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples Issue was opened via the examples template. stale The issue has not seen recent activity.
Projects
None yet
Development

No branches or pull requests

2 participants