Posts under category Facebook Instagram Graph API

I’m facing an issue with the Instagram Graph API. A day ago, I successfully replied to a comment and sent a DM without any problems. However, after replying to a total of 106 comments, I started receiving this error when trying to send DMs:
"The thread owner has archived or deleted this conversation, or the thread does not exist."
I can still reply to comments, but I’m unable to send DMs. I've tried multiple approaches, but the error persists.
Here’s the error response for reference:
error: {
message: 'The thread owner has archived or deleted this conversation, or the thread does not exist.',
type: 'IGApiException',
code: 100,
error_subcode: 2534001,
fbtrace_id: 'ARmNpr-Ma3GfRPrQecjksw8'
}
Code
export const sendDirectMessage = async (
ownerId: string,
commentId: string,
message: string
) => {
try {
// https://developers.facebook.com/docs/instagram-platform/instagram-api-with-instagram-login/messaging-api/private-replies
const { data } = await axios.post(
`https://graph.instagram.com/${ownerId}/messages`,
{
recipient: { comment_id: commentId },
message: { text: message },
},
{
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${instagramAccessToken}`,
},
}
);

return {
status: 200,
message: "Direct message sent successfully",
resData: data,
};
} catch (error: any) {
const errorMessage = error.response ? error.response.data : error.message;
return { status: 403, message: errorMessage.error.message };
}
};
Has anyone encountered this issue or have any ideas on what might be going wrong? I’d really appreciate any insights!
Thanks!

Hi everyone,
for our App with ID 494631521168029 we cannot request the "instagram_graph_user_media" permission anymore since some weeks. And we cannot re-request the permission as you can see in the screenshot.
We don't know why, there is no open review, no open required action and our data protection (GDPR) check was also marked as "done" some days ago.
Can you help us unlock the request button again or even give us back our already reviewed permission? Our app is not working since almost a month now because of this revoked action and we are getting angry calls by our customers already.
Please help.
Best regards Florian

I am trying to implement, the Instagram Business login button.
I have followed what is in the documenaion https://developers.facebook.com/docs/instagram-platform/instagram-api-with-instagram-login/business-login and I am using the embeded link provided in the app dashboard > Instagram > Instagram > Api Setup with Instagram Login > Step 3
When I click on the link it worked a few times but now I always have an error page "please wait a few minutes before you try again" Of coure, I can wait hours , days and I still have the same message.
Developping an app for Meta is really a nightmare
How can I fix that so I can submit my permission request with a workin Instagram Business login button ?