Hey,
Thanks for the reply.
Its kind of hard to show the whole process, but this is more or less the flow...
1. When HTTP Request is recieved
2. Get Metadata by Path
2. List Folder
3. Apply to each
4. If (filetyp != folder)
5. Copy file from path A to path B


The error message is pretty long:
start ---------
"status": 400,
"message": "Member 'Level' was not found. CallStack -- at System.Runtime.Serialization.SerializationInfo.GetElement(String name, Type& foundType)\r\n at System.Runtime.Serialization.SerializationInfo.GetByte(String name)\r\n
at Microsoft.SharePoint.Deployment.FileSerializer.UploadFileData(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid fileId, SPResourcePath filePath, FileInfo fileInfo, String fileValue, Int32 authorId, String authorLoginName, Int32 editorId, String editorLoginName, String checkinComment, DateTime timeCreated, DateTime timeLastModified, MetaInfoHandler metaInfo, Int32 iVersion, Boolean isFirstVersion, Int32 listItemId, String listInternalName, Boolean hasNoExecuteFlag, ImportObjectManager objectManager, SerializationInfoHelper infoHelper)\r\n
at Microsoft.SharePoint.Deployment.FileSerializer.UploadFileData(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid id, SPResourcePath filePath, Boolean fileExistsInDb, SerializationInfoHelper infoHelper, SerializationInfoHelper infoHelperListitem, MetaInfoHandler metaInfo, StreamingContext context)\r\n
at Microsoft.SharePoint.Deployment.FileSerializer.CreateOrUpdateFile(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid id, SPResourcePath& filePath, Boolean fileExistsInDb, Boolean isFirstVersion, Boolean hasWebParts, SerializationInfoHelper infoHelper, SerializationInfoHelper infoHelperListitem, StreamingContext context)\r\n
at Microsoft.SharePoint.Deployment.FileSerializer.CreateOrUpdateFileVersion(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid id, SPResourcePath& fileUrl, Boolean fileExistsInDb, String version, Boolean isFirstVersion, SerializationInfoHelper infoHelper, SerializationInfoHelper infoHelperListitem, StreamingContext context, ISurrogateSelector selector)\r\n
at Microsoft.SharePoint.Deployment.ListItemSerializer.AddOrUpdateDoclibItemVersion(SerializationInfoHelper infoHelper, SPListItem& listItem, SPLoggerObject loggerObject, SPWeb web, Guid newId, SPResourcePath& listItemServerRelativePath, Boolean bIsPublish, Boolean exists, String version, Boolean isFirstVersion, Boolean isLastVersion, StreamingContext context, ISurrogateSelector selector, LoggerStatistics stats)\r\n
at Microsoft.SharePoint.Deployment.ListItemVersionSerializer.AddListItemVersion(SPWeb web, SPListItem listItem, SPLoggerObject loggerObject, Guid newId, Boolean editHistory, Boolean existsInDb, Boolean isFirst, Boolean isLast, Boolean isDocLib, StreamingContext context, XmlElement listItemData, SerializationInfoHelper listItemInfoHelper, SPResourcePath& listItemServerRelativeUrl, ISurrogateSelector selector, LoggerStatistics stats, Guid docId)\r\n
at Microsoft.SharePoint.Deployment.ListItemSerializer.UpdateListItemVersionData(SerializationInfoHelper infoHelper, SPWeb web, SPListItem& listItem, Guid newId, Boolean existsInDb, Boolean isDocLib, SPResourcePath& listItemServerRelativePath, StreamingContext context, ISurrogateSelector selector)\r\nclientRequestId: ... \r\nserviceRequestId: ...
--------- end