<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[שגיאה בגישה לAPI]]></title><description><![CDATA[<p dir="auto">שבוע טוב.<br />
אני משתמש בקוד API - POST לגשת לאתר של ניהול חשבונות.<br />
לפני כמה ימים פתאום בחלק מהמחשבים התחיל לי שגיאה "the download of the specified resource has failed vba access".<br />
בשאר המחשבים זה עדיין עובד.<br />
מישהו יודע איך אפשר לפתור את זה?<br />
תודה!</p>
]]></description><link>https://tchumim.com/topic/12960/שגיאה-בגישה-לapi</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 11:36:01 GMT</lastBuildDate><atom:link href="https://tchumim.com/topic/12960.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 12 Mar 2022 20:22:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to שגיאה בגישה לAPI on Sun, 13 Mar 2022 12:10:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dovid">@<bdi>dovid</bdi></a> אמר ב<a href="/post/137487">שגיאה בגישה לAPI</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%90%D7%A8%D7%99">@<bdi>ארי</bdi></a><br />
בשני המחשבים הנתונים נשלחים זהים לגמרי? כלומר האם ניסת את אותם ערכים בname וphone וכולי?</p>
</blockquote>
<p dir="auto">כן</p>
<p dir="auto">לא עזר (נשאר אותו הדבר).<br />
תודה.</p>
]]></description><link>https://tchumim.com/post/137497</link><guid isPermaLink="true">https://tchumim.com/post/137497</guid><dc:creator><![CDATA[ארי]]></dc:creator><pubDate>Sun, 13 Mar 2022 12:10:47 GMT</pubDate></item><item><title><![CDATA[Reply to שגיאה בגישה לAPI on Sun, 13 Mar 2022 09:43:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%90%D7%A8%D7%99">@<bdi>ארי</bdi></a><br />
בשני המחשבים הנתונים נשלחים זהים לגמרי? כלומר האם ניסת את אותם ערכים בname וphone וכולי?</p>
<p dir="auto">פה: <a href="https://stackoverflow.com/a/44594589/1271037" target="_blank" rel="noopener noreferrer nofollow ugc">https://stackoverflow.com/a/44594589/1271037</a><br />
מישהו אומר ששינוי השורה הראושנה בקוד שלך</p>
<pre><code>Set oHttp = CreateObject("MSXML2.XMLHTTP")
</code></pre>
<p dir="auto">לזה:</p>
<pre><code>    Set oHttp = CreateObject("MSXML2.ServerXMLHTTP")
</code></pre>
<p dir="auto">עשויה לעזור.</p>
]]></description><link>https://tchumim.com/post/137487</link><guid isPermaLink="true">https://tchumim.com/post/137487</guid><dc:creator><![CDATA[dovid]]></dc:creator><pubDate>Sun, 13 Mar 2022 09:43:09 GMT</pubDate></item><item><title><![CDATA[Reply to שגיאה בגישה לAPI on Sun, 13 Mar 2022 07:16:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dovid">@<bdi>dovid</bdi></a> צודק. התקמצנתי....<br />
זה הקוד:</p>
<pre><code>Dim oHttp As Object
Dim sURL As String
Dim Body As String

Set oHttp = CreateObject("MSXML2.XMLHTTP")
sURL = "https://www.myofficeguy.com/api/accounting/customers/create/"
oHttp.Open "POST", sURL, False
oHttp.setRequestHeader "Accept", "text/plain"
oHttp.setRequestHeader "Content-type", "application/json-patch+json"

Body = "{ ""Details"":{""ExternalIdentifier"":null,""NoVAT"":null,""SearchMode"":null,"""
Body = Body &amp; "Name"":" &amp; Chr(34) &amp; name &amp; Chr(34) &amp; ",""Phone"":" &amp; Phone &amp; ",""EmailAddress"":" &amp; Mail &amp; ","""
Body = Body &amp; "City"":" &amp; City &amp; ",""Address"":" &amp; Add &amp; ",""ZipCode"":null,"""
Body = Body &amp; "CompanyNumber"":" &amp; tz &amp; ",""ID"":null,""Folder"":null},"""
Body = Body &amp; "Credentials"":{""CompanyID"":xxxxxxxxxx,""APIKey"":""xxxxxxxxxxxxxxxxx""},""ResponseLanguage"":null}"""

oHttp.send Body
</code></pre>
<p dir="auto">זה קוד להוספת לקוח באתר של אופיס גיא (ניהול חשבונות)<br />
הוא נתקע בשורה האחרונה.<br />
תודה.</p>
]]></description><link>https://tchumim.com/post/137486</link><guid isPermaLink="true">https://tchumim.com/post/137486</guid><dc:creator><![CDATA[ארי]]></dc:creator><pubDate>Sun, 13 Mar 2022 07:16:49 GMT</pubDate></item><item><title><![CDATA[Reply to שגיאה בגישה לAPI on Sat, 12 Mar 2022 21:10:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%90%D7%A8%D7%99">@<bdi>ארי</bdi></a> בנוסח הנכחי, זה שאלה שמתאימה לגומלין...</p>
<blockquote>
<p dir="auto">אני משתמש בקוד API - POST</p>
</blockquote>
<p dir="auto">יש מצב לגלות לנו טפח או מילימטר מהקוד/ספריה/כלי שעושה את זה, ומי ובאיזה שורה פולט את השגיאה?</p>
]]></description><link>https://tchumim.com/post/137476</link><guid isPermaLink="true">https://tchumim.com/post/137476</guid><dc:creator><![CDATA[dovid]]></dc:creator><pubDate>Sat, 12 Mar 2022 21:10:08 GMT</pubDate></item></channel></rss>