File tree 2 files changed +20
-0
lines changed
changelogs/client_server/newsfragments 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ Clarify that the async upload endpoint will return 404 in some cases.
Original file line number Diff line number Diff line change @@ -126,6 +126,25 @@ paths:
126
126
" errcode " : " M_FORBIDDEN" ,
127
127
" error " : " Cannot upload this content"
128
128
}
129
+ " 404 " :
130
+ description : |-
131
+ The user has provided an invalid MXC ID. Some reasons for this error include:
132
+
133
+ - The MXC ID was not created with [POST /_matrix/media/v1/create](/client-server-api/#post_matrixmediav1create).
134
+ - The MXC ID has expired.
135
+
136
+ A [standard error response](/client-server-api/#standard-error-response)
137
+ will be returned with the `errcode` `M_NOT_FOUND`.
138
+ content :
139
+ application/json :
140
+ schema :
141
+ $ref : definitions/errors/error.yaml
142
+ examples :
143
+ response :
144
+ value : {
145
+ " errcode " : " M_NOT_FOUND" ,
146
+ " error " : " Unknown media ID"
147
+ }
129
148
" 409 " :
130
149
description : |-
131
150
The endpoint was called with a media ID that already has content. A
You can’t perform that action at this time.
0 commit comments