Power Automate Copy file no longer works - Copy SharePoint Home.aspx to New SharePoint site

Anonymous
2024-09-19T10:30:35+00:00

Need help:

Power Automate Copy file not working since 18.9.2024 - copy SharePoint Home.aspx to New SharePoint site, error: Invalid number value. A number field contains invalid data. Please check the value and try again. CallStack -- at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) at Microsoft.SharePoint.Library.SPRequest.SetGhostedFile(String setupPath, Byte setupPathVersion, Int32 iVersion, Guid& pguidListId, Guid& pguidDocId, Int32 lDoclibRowId, Int32 iAuthorId, String authorLogin, String serverRelativeUrl, String targetUrlWebRelative, Boolean isInDocLib, Boolean isMigration, Boolean isPublishing Object varProperties, Int64 PutFileOpt) at Microsoft.SharePoint.Deployment.FileSerializer.SetGhostedFile(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid existId, SPResourcePath fileUrl, SerializationInfoHelper infoHelper, SerializationInfoHelper infoHelperListitem, Boolean fileExistsInDb, Nullable`1 isLastVersion, StreamingContext context) clientRequestId: 1f3421bf-23fb-48aa-887a-e*** serviceRequestId: 77bf51a1-d04f-9****

Microsoft 365 and Office | SharePoint | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

48 answers

Sort by: Most helpful
  1. Anonymous
    2024-09-20T15:22:03+00:00

    Same error here...

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-09-20T14:17:00+00:00

    Same error with my flow that has been working fine for years before today.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-09-19T13:17:05+00:00

    Experiencing the same as Bart and Tadej and this flow and sharepoint file were created last week. Everything was working just fine but now getting the same error. Tried creating a new flow but no luck with that. Same error.

    Invalid number value.

    A number field contains invalid data. Please check the value and try again. CallStack -- at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)

    at Microsoft.SharePoint.Library.SPRequest.CreateOrUpdateFileAndItem(String bstrUrl, String bstrWebRelativeUrl, Guid& docId, Object punkDoc, Int32 docLength, Int32 exists, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Int32 iVersion, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String checkInComment, Int32 docLibRowID, String bstrListName, Int32 bNoExecute, SPFileSaveParams sfsp, Int32 bSkipModerateStatusCheck, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage, Object& pvarMergedProperties)

    at Microsoft.SharePoint.Deployment.FileSerializer.CreateOrUpdateFileWithGuid(Stream spstm, SPLoggerObject loggerObject, SPWeb web, Guid fileId, SPResourcePath filePath, String fileValue, Int64 bytesInAzure, String quickXorHash, Int32 authorId, String authorLoginName, Int32& editorId, String editorLoginName, String checkinComment, DateTime& timeCreated, DateTime& timeLastModified, MetaInfoHandler metaInfo, Int64 length, Int32 iVersion, Boolean isFirstVersion, Nullable1 isLastVersion, SPImportSettings settings, Int32 listItemId, String listInternalName, Boolean hasNoExecuteFlag, ImportObjectManager objectManager, DecryptionInfo decryptionInfo, Nullable1 preserveExistingOnConflict, Nullable`1 createAntlerFile, Guid parentId, Object& propertyArray, Object& mergedMetaProperties, Boolean createStubFileOnly, Boolean forceNormalCobaltFile, IServiceQosInternalEvent blobCopyQosEvent, Boolean bypassQuotaCheck, Boolean performPostProcessing)

    clientRequestId: b7612a04-7e90-40a2-b647-6e2f225a82dc

    serviceRequestId: 01c951a1-5079-6000-6e8e-d403addc35ae

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-09-19T13:00:14+00:00

    I created a new flow with only one action, i.e. the Copy File action.

    and this gives the same error.

    Also tried a different source file,

    again same error.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2024-09-19T12:49:03+00:00

    Hi Sophia.

    In SharePoint have site A with Home.aspx, that page hasn't been changed in a year. From then until yesterday, everything worked without a problem - we didn't change anything.
    This site Home.aspx, when user request to create new site on Sharepoint form, then with power automate copy Home.aspx to new SharePoint site B. with option Replace.

    Now i have done some tests manualy. Also try with option "Copy with a new name", but without success.

    There is link to shared Photos ( upload there on page does not work to me ): https://photos.app.goo.gl/EbC2Ji3wgdJraLUR7

    Error code is upper in first post.
    Thank you.

    Regards, Tadej.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments