Skip to content

Deploy Keys Missing Fields #514

Description

@mgabathuler

I am running Tapir 0.9.4 with the backend dynamoDB. When trying to upload a provider with a deploykey I keep getting a 401 error.

* [HTTP/2] [1] OPENED stream for https://*******/terraform/providers/v1/matthias/uptime-kuma/0.0.1
* [HTTP/2] [1] [:method: POST]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: ******]
* [HTTP/2] [1] [:path: /terraform/providers/v1/matthias/uptime-kuma/0.0.1]
* [HTTP/2] [1] [user-agent: curl/8.15.0]
* [HTTP/2] [1] [accept: */*]
* [HTTP/2] [1] [x-api-key: *********************************]
* [HTTP/2] [1] [content-length: 47112800]
* [HTTP/2] [1] [content-type: multipart/form-data; boundary=------------------------HI5ZrWi7NGRi1JuhW8rLaQ]
> POST /terraform/providers/v1/matthias/uptime-kuma/0.0.1 HTTP/2
> Host: ********
> User-Agent: curl/8.15.0
> Accept: */*
> x-api-key: *******************************************3
> Content-Length: 47112800
> Content-Type: multipart/form-data; boundary=------------------------HI5ZrWi7NGRi1JuhW8rLaQ
> 
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* upload completely sent off: 47112800 bytes
< HTTP/2 401 
< date: Wed, 26 Nov 2025 09:13:27 GMT
< content-length: 0
< strict-transport-security: max-age=31536000; includeSubDomains
< 
* Connection #0 to host to ********* left intact
curl: (22) The requested URL returned error: 401

looking at the keys I see that fields are missing

curl 'https://tapir.ivia.ch/search/deploykeys?limit=10&q=' 
{
    "entities": [
        {
            "resourceType": null,
            "scope": null,
            "namespace": null,
            "provider": null,
            "name": null,
            "type": null,
            "key": "************************",
            "id": "provider-matthias-uptime-kuma",
            "lastModifiedAt": "2025-11-26T09:02:54.158090789Z"
        }
   ]
}

should these fields be empty or is there something missing in the code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions