Code not working 24 hours after embedding

Hi! I am not a developer so I might be using some term incorrectly. I utilize advocacy sotfware called Phone2Action and have been embedding their code onto wix for years. About two months ago I notice that all of my html coded areas on the websites were broken. This happened across 5 websites. When I embed the same code again it works for about 24 hours and then shows up as a gray box with the document icon with the frowning face again. I have re-embedded the code several several times and have checked the code on other facilitating sites like squarespace and it seems to embed fine. Phone2Action has also had their developers double check the code and it seems to be error free. I reached out to wix and they said there is nothing they can look into because it is third party code. Anyone have any idea of why this is happening? Pasted below is and example of one of the codes:

<div class="advocacy-actionwidget" data-domain="p2a.co" data-shorturl="QsrdGMl" data-responsive="true" style=""></div>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = '//p2a.co/js/embed/widget/advocacywidget.min.js';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'advocacy-actionwidget-code'));
</script>

Is it possible that the provider imposes a usage limit?

Adding code to an HTML component is not a part of the Corvid product (which is what this forum is about). The basics of an HTML component is to put any HTML code in it. That code can be copied from any source that you want, but you need to know the exact code to put there (which is not related to Corvid)… You will need to check with the service provider to identify the problem and to supply a fix.

First off, I would see if you have any third party apps in your web browser that could be affecting it like a certain popup blocker or tracker etc, this sometimes causes certain parts of a website not to load or show properly and until the site is whitelisted through these third party apps or the app is removed, then the site will always have that error.

Also, instead of using their html code, why not look into using their API, which will be more secure.
https://docs.phone2action.com/
https://github.com/phone2action

Use it with either Wix Fetch or Wix HTTP Functions.
https://www.wix.com/corvid/reference/wix-fetch.html
https://support.wix.com/en/article/corvid-accessing-third-party-services-with-the-fetch-api

https://www.wix.com/corvid/reference/wix-http-functions.html
https://support.wix.com/en/article/corvid-exposing-a-site-api-with-http-functions

Corvid Example.
https://www.wix.com/corvid/forum/corvid-tips-and-updates/example-myapi-and-myapiclient

Plus, as you will be using code, then Wix will be able to help you if you have issues trying to get it to work too.