"Bad Gateway" error when "Set content approval status" = "Reject", while work well when set it to "Approve"

john john Pter 1,015 Reputation points
2025-04-23T00:38:25.5133333+00:00

I have a Custom list with Required Approval = True. and we are sending Teams approval,then we update the custom list item to either Approve or Reject.. this is working when set the approval status = "Approve":-

ZVOZIlmS

but failed when set the approval status = "Reject", error "Bad Gateway":-

TzvU5MJj

any advice?

Thanks

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,583 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Hien-L 1,910 Reputation points Microsoft External Staff
    2025-04-23T11:29:04.18+00:00

    Hi john john Pter, 

    Good day! Welcome to Q&A forum.

    For your issue, make sure you have enabled “Yes” in Require content approval for submitted items in Version Settings.

    User's image

    Hope these information helps.

    Please do let us know if you have any further queries.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.