Last active
May 20, 2025 15:01
-
-
Save al-zolochevski/2ee1f06ba87406b0707b12ac25ed67fb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /v4/image-services/upload-data HTTP/1.1 | |
Host: stage-api.liftstory.com | |
Content-Type: application/json | |
X-Device-Lang: en | |
X-Build-Version: 1.88 | |
Connection: keep-alive | |
Accept: application/json | |
X-Device-Token: 3a3982d53684ea869281f4a0fa56d3ccf59a80ece8c33592aaa66d293573d927 | |
Accept-Language: en-GB,en;q=0.9 | |
Content-Length: 31 | |
Accept-Encoding: gzip, deflate, br | |
User-Agent: Stories/10 CFNetwork/1494.0.7 Darwin/23.4.0 | |
{ | |
"mimeType" : "image\/png" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP/1.1 500 Internal Server Error | |
Cache-Control: no-cache, private | |
Content-Type: application/json | |
Date: Tue, 20 May 2025 15:00:04 GMT | |
Server: nginx/1.16.1 | |
Vary: Accept | |
X-Debug-Exception: Could%20not%20find%20the%20document%20manager%20for%20class%20%22App%5CShared%5CUploadedFile%5CContracts%5CUploadedFileInterface%22.%20Check%20your%20Doctrine%20configuration%20to%20make%20sure%20it%20is%20configured%20to%20load%20this%20document%E2%80%99s%20metadata. | |
X-Debug-Exception-File: %2Fvar%2Fwww%2Fhtml%2Fvendor%2Fdoctrine%2Fmongodb-odm-bundle%2FRepository%2FServiceRepositoryTrait.php:28 | |
X-Powered-By: PHP/8.2.24 | |
X-Robots-Tag: noindex | |
Content-Length: 7025 | |
Connection: keep-alive | |
{ | |
"type": "https:\/\/tools.ietf.org\/html\/rfc2616#section-10", | |
"title": "An error occurred", | |
"status": 500, | |
"detail": "Could not find the document manager for class \"App\\Shared\\UploadedFile\\Contracts\\UploadedFileInterface\". Check your Doctrine configuration to make sure it is configured to load this document\u2019s metadata.", | |
"class": "LogicException", | |
"trace": [{ | |
"namespace": "", | |
"short_class": "", | |
"class": "", | |
"type": "", | |
"function": "", | |
"file": "\/var\/www\/html\/vendor\/doctrine\/mongodb-odm-bundle\/Repository\/ServiceRepositoryTrait.php", | |
"line": 28, | |
"args": [] | |
}, { | |
"namespace": "Doctrine\\Bundle\\MongoDBBundle\\Repository", | |
"short_class": "ServiceDocumentRepository", | |
"class": "Doctrine\\Bundle\\MongoDBBundle\\Repository\\ServiceDocumentRepository", | |
"type": "->", | |
"function": "__construct", | |
"file": "\/var\/www\/html\/src\/Shared\/Repository\/UploadedFileRepository.php", | |
"line": 17, | |
"args": [ | |
["object", "Doctrine\\Bundle\\MongoDBBundle\\ManagerRegistry"], | |
["string", "App\\Shared\\UploadedFile\\Contracts\\UploadedFileInterface"] | |
] | |
}, { | |
"namespace": "App\\Shared\\Repository", | |
"short_class": "UploadedFileRepository", | |
"class": "App\\Shared\\Repository\\UploadedFileRepository", | |
"type": "->", | |
"function": "__construct", | |
"file": "\/var\/www\/html\/var\/cache\/stage\/ContainerBtBxVPJ\/getUploadedFileRepositoryService.php", | |
"line": 30, | |
"args": [ | |
["object", "Doctrine\\Bundle\\MongoDBBundle\\ManagerRegistry"] | |
] | |
}, { | |
"namespace": "ContainerBtBxVPJ", | |
"short_class": "getUploadedFileRepositoryService", | |
"class": "ContainerBtBxVPJ\\getUploadedFileRepositoryService", | |
"type": "::", | |
"function": "do", | |
"file": "\/var\/www\/html\/var\/cache\/stage\/ContainerBtBxVPJ\/App_KernelStageDebugContainer.php", | |
"line": 482, | |
"args": [ | |
["object", "ContainerBtBxVPJ\\App_KernelStageDebugContainer"], | |
["boolean", true] | |
] | |
}, { | |
"namespace": "ContainerBtBxVPJ", | |
"short_class": "App_KernelStageDebugContainer", | |
"class": "ContainerBtBxVPJ\\App_KernelStageDebugContainer", | |
"type": "->", | |
"function": "load", | |
"file": "\/var\/www\/html\/var\/cache\/stage\/ContainerBtBxVPJ\/getImageUploadDataCommandService.php", | |
"line": 23, | |
"args": [ | |
["string", "getUploadedFileRepositoryService.php"] | |
] | |
}, { | |
"namespace": "ContainerBtBxVPJ", | |
"short_class": "getImageUploadDataCommandService", | |
"class": "ContainerBtBxVPJ\\getImageUploadDataCommandService", | |
"type": "::", | |
"function": "do", | |
"file": "\/var\/www\/html\/var\/cache\/stage\/ContainerBtBxVPJ\/App_KernelStageDebugContainer.php", | |
"line": 482, | |
"args": [ | |
["object", "ContainerBtBxVPJ\\App_KernelStageDebugContainer"], | |
["boolean", true] | |
] | |
}, { | |
"namespace": "ContainerBtBxVPJ", | |
"short_class": "App_KernelStageDebugContainer", | |
"class": "ContainerBtBxVPJ\\App_KernelStageDebugContainer", | |
"type": "->", | |
"function": "load", | |
"file": "\/var\/www\/html\/vendor\/symfony\/dependency-injection\/Container.php", | |
"line": 404, | |
"args": [ | |
["string", "getImageUploadDataCommandService.php"] | |
] | |
}, { | |
"namespace": "Symfony\\Component\\DependencyInjection", | |
"short_class": "Container", | |
"class": "Symfony\\Component\\DependencyInjection\\Container", | |
"type": "->", | |
"function": "getService", | |
"file": "\/var\/www\/html\/vendor\/symfony\/dependency-injection\/Argument\/ServiceLocator.php", | |
"line": 40, | |
"args": [ | |
["string", "privates"], | |
["string", "App\\ImageService\\Command\\ImageUploadDataCommand"], | |
["string", "getImageUploadDataCommandService"], | |
["boolean", true] | |
] | |
}, { | |
"namespace": "Symfony\\Component\\DependencyInjection\\Argument", | |
"short_class": "ServiceLocator", | |
"class": "Symfony\\Component\\DependencyInjection\\Argument\\ServiceLocator", | |
"type": "->", | |
"function": "get", | |
"file": "\/var\/www\/html\/vendor\/symfony\/http-kernel\/Controller\/ArgumentResolver\/ServiceValueResolver.php", | |
"line": 84, | |
"args": [ | |
["string", "command"] | |
] | |
}, { | |
"namespace": "Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver", | |
"short_class": "ServiceValueResolver", | |
"class": "Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\ServiceValueResolver", | |
"type": "->", | |
"function": "resolve", | |
"file": "\/var\/www\/html\/vendor\/symfony\/http-kernel\/Controller\/ArgumentResolver\/TraceableValueResolver.php", | |
"line": 60, | |
"args": [ | |
["object", "Symfony\\Component\\HttpFoundation\\Request"], | |
["object", "Symfony\\Component\\HttpKernel\\ControllerMetadata\\ArgumentMetadata"] | |
] | |
}, { | |
"namespace": "Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver", | |
"short_class": "TraceableValueResolver", | |
"class": "Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\TraceableValueResolver", | |
"type": "->", | |
"function": "resolve", | |
"file": "\/var\/www\/html\/vendor\/symfony\/http-kernel\/Controller\/ArgumentResolver.php", | |
"line": 91, | |
"args": [ | |
["object", "Symfony\\Component\\HttpFoundation\\Request"], | |
["object", "Symfony\\Component\\HttpKernel\\ControllerMetadata\\ArgumentMetadata"] | |
] | |
}, { | |
"namespace": "Symfony\\Component\\HttpKernel\\Controller", | |
"short_class": "ArgumentResolver", | |
"class": "Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver", | |
"type": "->", | |
"function": "getArguments", | |
"file": "\/var\/www\/html\/vendor\/symfony\/http-kernel\/Controller\/TraceableArgumentResolver.php", | |
"line": 40, | |
"args": [ | |
["object", "Symfony\\Component\\HttpFoundation\\Request"], | |
["array", [ | |
["object", "App\\Shared\\Controller\\ImageServicesUploadDataController"], | |
["string", "removeBGV4"] | |
]], | |
["object", "ReflectionMethod"] | |
] | |
}, { | |
"namespace": "Symfony\\Component\\HttpKernel\\Controller", | |
"short_class": "TraceableArgumentResolver", | |
"class": "Symfony\\Component\\HttpKernel\\Controller\\TraceableArgumentResolver", | |
"type": "->", | |
"function": "getArguments", | |
"file": "\/var\/www\/html\/vendor\/symfony\/http-kernel\/HttpKernel.php", | |
"line": 173, | |
"args": [ | |
["object", "Symfony\\Component\\HttpFoundation\\Request"], | |
["array", [ | |
["object", "App\\Shared\\Controller\\ImageServicesUploadDataController"], | |
["string", "removeBGV4"] | |
]], | |
["object", "ReflectionMethod"] | |
] | |
}, { | |
"namespace": "Symfony\\Component\\HttpKernel", | |
"short_class": "HttpKernel", | |
"class": "Symfony\\Component\\HttpKernel\\HttpKernel", | |
"type": "->", | |
"function": "handleRaw", | |
"file": "\/var\/www\/html\/vendor\/symfony\/http-kernel\/HttpKernel.php", | |
"line": 76, | |
"args": [ | |
["object", "Symfony\\Component\\HttpFoundation\\Request"], | |
["integer", 1] | |
] | |
}, { | |
"namespace": "Symfony\\Component\\HttpKernel", | |
"short_class": "HttpKernel", | |
"class": "Symfony\\Component\\HttpKernel\\HttpKernel", | |
"type": "->", | |
"function": "handle", | |
"file": "\/var\/www\/html\/vendor\/symfony\/http-kernel\/Kernel.php", | |
"line": 197, | |
"args": [ | |
["object", "Symfony\\Component\\HttpFoundation\\Request"], | |
["integer", 1], | |
["boolean", true] | |
] | |
}, { | |
"namespace": "Symfony\\Component\\HttpKernel", | |
"short_class": "Kernel", | |
"class": "Symfony\\Component\\HttpKernel\\Kernel", | |
"type": "->", | |
"function": "handle", | |
"file": "\/var\/www\/html\/vendor\/symfony\/runtime\/Runner\/Symfony\/HttpKernelRunner.php", | |
"line": 35, | |
"args": [ | |
["object", "Symfony\\Component\\HttpFoundation\\Request"] | |
] | |
}, { | |
"namespace": "Symfony\\Component\\Runtime\\Runner\\Symfony", | |
"short_class": "HttpKernelRunner", | |
"class": "Symfony\\Component\\Runtime\\Runner\\Symfony\\HttpKernelRunner", | |
"type": "->", | |
"function": "run", | |
"file": "\/var\/www\/html\/vendor\/autoload_runtime.php", | |
"line": 29, | |
"args": [] | |
}, { | |
"namespace": "", | |
"short_class": "", | |
"class": "", | |
"type": "", | |
"function": "require_once", | |
"file": "\/var\/www\/html\/public\/index.php", | |
"line": 5, | |
"args": [ | |
["string", "\/var\/www\/html\/vendor\/autoload_runtime.php"] | |
] | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment