Unsupported Media Type [Go SDK]
Submitting transaction with media (mime) type not equal to application/x-www-form-urlencoded
AND not equal to multipart/form-data
will result in unsupported_media_type
error.
Attributes
As with all errors Frontier returns, still_ingesting
follows the
Problem Details for HTTP APIs
draft specification guide and thus has the following attributes:
Attribute | Type | Description |
---|---|---|
type |
URL | The identifier for the error. This is a URL that can be visited in the browser. |
title |
String | A short title describing the error. |
status |
Number | An HTTP status code that maps to the error. |
detail |
String | A more detailed description of the error. |
Example
{
"type": "https://developers.digitalbits.io/frontier/reference/errors/unsupported-media-type.html",
"title": "Unsupported Media Type",
"status": 415,
"detail": "The request has an unsupported content type. Presently, the only supported content type is application/x-www-form-urlencoded."
}
Edit this doc in GitHub