You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i wonder what might be the reason for this error message.
$ [Error]: 400 Bad Request at https://cloud.umami.is/api/send
at d (/var/task/.next/server/chunks/2595.js:71:2253)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async m (/var/task/.next/server/chunks/2595.js:71:2337) {
code: '400',
data: 'type is a required field'
}
I am sending the following headers and payload. When I compare it with other successful requests, the only difference is missing brackets in the user-agent header. Could it be the issue? The message "type is required" doesn't indicate this..
No, it was only for debugging. I updated the description of the issue. I am still getting the 400 with strange description "type is required" even though i send the field correctly.
I've got it! I was missing the content-type header. So the description was only a bit misleading.. I suggest changing the error to Content-Type is a required field.
Describe the Bug
Hi,
i wonder what might be the reason for this error message.
I am sending the following headers and payload. When I compare it with other successful requests, the only difference is missing brackets in the user-agent header. Could it be the issue? The message "type is required" doesn't indicate this..
My failing request:
Database
Umami Cloud
The text was updated successfully, but these errors were encountered: