Skip to content

Provide more detail in api submission response when submissions are closed. #5350

Description

@SmithSamuelM

(Modified from the original report below)

The api response when submissions are closed could be more informative. Say the same things we say on the Web UI.

e.g.

 Warning: Currently in I-D submission blackout period.
The last submission time for the I-D submission was 2023-03-13 23:59 UTC.
The I-D submission tool will be reopened after 2023-03-25 23:59 JST (IETF-meeting local time).

Original Report:

Describe the issue

Using Martin Thompson github repository template, which I have used successfully before, I tried to submit an updated draft and got the following error.

{"error": "Validation Error", "messages": ["The submission tool is currently shut down"]}

Is the submission tool not working and do I just resubmit later or is this error message missapplied and something else is wrong?

Here is the full log.

+ lib/trace.sh versioned/draft-ssmith-acdc-03.xml -s upload-request curl -sS -D versioned/.draft-ssmith-acdc-03.upload -F user=sam@prosapien.com -F xml=@versioned/draft-ssmith-acdc-03.xml https://datatracker.ietf.org/api/submission
[53](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:54)
+ echo
[54](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:55)
{"error": "Validation Error", "messages": ["The submission tool is currently shut down"]}
[55](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:56)
+ grep -q '^HTTP/\S\S* 200\b'
[56](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:57)
+ head -1 versioned/.draft-ssmith-acdc-03.upload
[57](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:58)
+ lib/trace.sh versioned/draft-ssmith-acdc-03.xml -s upload-result '!' cat versioned/.draft-ssmith-acdc-03.upload
[58](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:59)
HTTP/2 400 
[59](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:60)
date: Wed, 15 Mar 2023 17:26:33 GMT
[60](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:61)
content-type: application/json
[61](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:62)
content-length: 89
[62](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:63)
strict-transport-security: max-age=3600; includeSubDomains
[63](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:64)
x-content-type-options: nosniff
[64](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:65)
x-xss-protection: 1; mode=block
[65](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:66)
x-frame-options: SAMEORIGIN
[66](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:67)
referrer-policy: strict-origin-when-cross-origin
[67](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:68)
vary: Cookie, Origin
[68](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:69)
cf-cache-status: DYNAMIC
[69](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:70)
server: cloudflare
[70](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:71)
cf-ray: 7a8676480ee8587e-IAD
[71](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:72)
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400
[72](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:73)

[73](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:74)
make[1]: *** [lib/upload.mk:27: versioned/.draft-ssmith-acdc-03.upload] Error 1
[74](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:75)
make[1]: *** Deleting file 'versioned/.draft-ssmith-acdc-03.upload'
[75](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:76)
rm versioned/draft-ssmith-acdc-03.md
[76](https://github.com/WebOfTrust/ietf-acdc/actions/runs/4429158182/jobs/7769234531#step:8:77)
make: *** [lib/upload.mk:22: upload] Error 2

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions