Skip to content

bug: Can't create document via curl #443

@ginkel

Description

@ginkel

What happened?

Hi there,

I am trying to upload a document via curl according to the docs:

curl -vF 'content=@installer.b64' https://paste.<domain>/

Unfortunately, a error is returned:

{"error":"Content: cannot be blank.","payload":{}}
{"error":"sql: no rows in result set","payload":{}}

Minimum steps to reproduce

See above

Version

spacebinorg/spirit:latest

What browsers are you seeing the problem on?

No response

Relevant log output

9:39AM DBG Request Error error="Content: cannot be blank."
9:39AM DBG Request Error error="sql: no rows in result set"
9:39AM INF HTTP Request client=172.19.0.20:39970 duration=22.503637 host=paste.<domain> method=POST page=/ protocol=HTTP/1.1 size=103 status=400 user-agent=curl/8.5.0

Metadata

Metadata

Assignees

Labels

💥 bugSomething isn't working

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions