import.url_not_allowed
The source URL is not allowed
- HTTP status
- 422
- Problem type
https://api.field-viewer.com/problems/import.url_not_allowed- Catalogue
- Generic (any operation)
What it means
The source URL may not be imported: it is not HTTPS, points to a private or local address, or its host is not allowed.
What to do
Use a public HTTPS URL, or upload the file directly with an upload ticket.
Example response
Errors use RFC 9457 application/problem+json. Match on code (stable forever), not on title or detail, which are localised.
HTTP/1.1 422
Content-Type: application/problem+json
{
"type": "https://api.field-viewer.com/problems/import.url_not_allowed",
"title": "The source URL is not allowed",
"status": 422,
"detail": "The source URL is not allowed",
"instance": "/v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions",
"code": "import.url_not_allowed",
"requestId": "req_01jcz3k8m4f6a9t2x7v5q0wbne"
}
Returned by
| Operation | Request | Summary |
|---|---|---|
createDocumentVersion | POST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions | Start a drawing upload (PDF, DXF or DWG) |
createProjectRevision | POST /v1/organizations/{organizationId}/projects/{projectId}/revisions | Start a new revision of a project's 3D model |