415: Unsupported Media Type
The 415 (Unsupported media type) status code indicates that the request has a media type which the server or resource does not support. For example, the client uploads an image as image/svg+xml, but the server requires that images use a different format.
Code | 415 |
Description | Unsupported media type. |
Generic Cause | Server is refusing to service the request because the payload is in a format not supported by this method on the target resource. |
Quick Fix | Verify requested payload. |
EQX-716-5117
Code | EQX-716-5117 |
Description | The uploaded file is found to be corrupted or dangerous |
Generic Cause | Lack of antivirus (AV) check. |
Quick Fix | Use proper antivirus scanning for uploaded file. |
ERROR SCENARIO EXAMPLE
ERROR CODE: "EQX-716-5117"
MESSAGE: "The uploaded file is found to be corrupted or dangerous"
Verify uploaded file against malware content.
Perform antivirus scanning for file you want to upload.
curl -X
POST "https://api.equinix.com/v1/attachments/file?storageType=S3&scan=true"
-H "accept: application/json"
-H "Content-Type: multipart/form-data"
-F "uploadFile=@Appendix_Digital LOA.jpg;type=image/jpeg"
EQX-716-5118
Code | EQX-716-5118 |
Description | The uploaded file has an incorrect extension. Check and re-upload the file, as its actual type does not match its file extension. |
Generic Cause | Lack of proper file extension. |
Quick Fix | Check the supported file extension. |
ERROR SCENARIO EXAMPLE
ERROR CODE: "EQX-716-5118"
MESSAGE: "The uploaded file has an incorrect extension. Please check and re-upload the file, as its actual type does not match its file extension"
Verify uploaded file extension.
Make sure the file you want tu upload has correct extension.
curl -X
POST "https://api.equinix.com/v1/attachments/file?storageType=S3&scan=true"
-H "accept: application/json"
-H "Content-Type: multipart/form-data"
-F "uploadFile=@Appendix_Digital LOA.jpg;type=image/jpeg"
EQX-716-5119
Code | EQX-716-5119 |
Description | The uploaded file format is not allowed. |
Generic Cause | Lack of proper file format. |
Quick Fix | Check the supported file format. |
ERROR SCENARIO EXAMPLE
ERROR CODE: "EQX-716-5119"
MESSAGE: "The uploaded file format is not allowed"
Verify uploaded file format.
Make sure the file you want tu upload has correct format.
curl -X
POST "https://api.equinix.com/v1/attachments/file?storageType=S3&scan=true"
-H "accept: application/json"
-H "Content-Type: multipart/form-data"
-F "uploadFile=@Appendix_Digital LOA.jpg;type=image/jpeg"