denoland / deploy_feedback

For reporting issues with Deno Deploy
https://deno.com/deploy
74 stars 5 forks source link

[Bug]: Trying to create kv database in deno deploy #569

Closed mcgear closed 9 months ago

mcgear commented 9 months ago

Problem description

I am making a POST request to https://api.deno.com/v1/projects//deployments

With body:

{
    "entryPointUrl": "main.ts",
    "assets": {
      "main.ts": {
        "kind": "file",
        "content": "Deno.serve(() => new Response(`Hello, World!`));",
        "encoding": "utf-8"
      }
    },
    "databases": {
        "default": "<random-guid>"
    },
    "envVars": {}
}

After making this call from postman (with Authorization header set to my api token, i get the following error (similar to #413 )

{
    "code": "transactionDomainNotFound",
    "message": "The transaction domain you are requesting is not found."
}

What am i missing?

Steps to reproduce

Make deployments call from postman

Expected behavior

Expecting database to be created.

Environment

No response

Possible solution

No response

Additional context

No response

mcgear commented 9 months ago

I changed to an organization instead of my personal account and things started working