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: Oldest
  1. Anonymous
    2024-09-19T11:58:34+00:00

    Hi Tadej Muršak,

    Thank you for reaching out and bringing this issue to our attention.

    I understand that you are experiencing an error with Power Automate when trying to copy the SharePoint Home.aspx file to a new SharePoint site. The error message indicates an “Invalid number value” and suggests that a number field contains invalid data.

    To assist you better, could you please provide the following details:

    1. The specific steps you are taking in Power Automate to copy the file.
    2. Any recent changes made to the SharePoint sites or the Home.aspx file.
    3. A screenshot of the error message, if possible.

    In the meantime, here are a few troubleshooting steps you can try:

    • Verify that all number fields in the Home.aspx file and the destination site are correctly formatted.
    • Ensure that there are no special characters or invalid data in any fields.
    • Check if the issue persists when copying a different file to the new SharePoint site.

    Once we have more information, we can further investigate and provide a solution.

    Thank you for your patience and cooperation.

    Best regards,

    Was this answer helpful?

    0 comments No comments
  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Anonymous
    2024-09-19T12:27:29+00:00

    Hi Sophia,

    I have the exact same error (today) as Tadej.

    the source file (also a homepage) I copy was not modifed (for a year).

    Also the Power Automate Copy File Flow action also was not changed.

    This copy action worked fine the whole last year,

    regards,

    Bart

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  4. 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
  5. 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