<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SASEFRED can't connect in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SASEFRED-can-t-connect/m-p/720276#M4057</link>
    <description>&lt;P&gt;Based on those messages I can't tell exactly what's failing, but there's a&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://go.documentation.sas.com/?cdcId=etscdc&amp;amp;cdcVersion=14.2&amp;amp;docsetId=etsug&amp;amp;docsetTarget=etsug_sasefred_syntax01.htm&amp;amp;locale=en#etsug.sasefred.fred-debug-opt" target="_self"&gt;debug=&lt;/A&gt; option you can place on the LIBNAME statement to get more information in the SAS log. When you add debug=on you should see a filename statement generated in the log window. Can you use the url found in the log on your browser? If you get an error there, that implies a problem with the API key (too short, expired, etc.).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the url works from the browser, and the debug= information does not help you determine root cause for the failure, then the debug= info is helpful for SAS Technical Support (me), along with the results of this code:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;%put _automatic_;&lt;/P&gt;
&lt;P&gt;Feel free to post back the results of the above tests or email them to &lt;A href="mailto:support@sas.com" target="_blank"&gt;support@sas.com&lt;/A&gt;&amp;nbsp;to create a tracking entry with Tech Support so that I or someone on my team can do more research and offer you feedback.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Feb 2021 17:41:57 GMT</pubDate>
    <dc:creator>Bari_sas</dc:creator>
    <dc:date>2021-02-18T17:41:57Z</dc:date>
    <item>
      <title>SASEFRED can't connect</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SASEFRED-can-t-connect/m-p/720028#M4055</link>
      <description>&lt;P&gt;I'd like to use SASEFRED.&amp;nbsp; I got an API key from FRED (masked in the code below), but I can't seem to connect.&amp;nbsp; Is there a way to troubleshoot what's going wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options validvarname=any;

%let PATH=C:\Users\svnd\Desktop;

libname fred sasefred "&amp;amp;PATH"
  OUTXML=T10Y
  XMLMAP="&amp;amp;PATH\T10Y.map"
  APIKEY='XXXXXXXXXXXXXXXXXXXX'
  IDLIST='DGS10';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NOTE: Parsing with high validation.
ERROR: XMLMap parser encountered fatal XML error
         Exception class: org.xml.sax.SAXParseException
         ID: &amp;lt;null&amp;gt;
         Message: Premature end of file.
         Line: -1
         Column: -1
ERROR: Unable to parse the specified file: file:/C:/Users/svnd/XFREDtp1.xml
         Exception class: org.xml.sax.SAXParseException
WARNING: The default frequency of this timeseries (DGS10) is lower than the requested FREQ ().
WARNING: This timeseries (DGS10) is excluded because its default frequency is lower than the
         requested FREQ ().
NOTE: Libref FRED was successfully assigned as follows:
      Engine:        SASEFRED
      Physical Name: C:\Users\svnd\Desktop
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Feb 2021 20:32:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SASEFRED-can-t-connect/m-p/720028#M4055</guid>
      <dc:creator>mcs</dc:creator>
      <dc:date>2021-02-17T20:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: SASEFRED can't connect</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SASEFRED-can-t-connect/m-p/720276#M4057</link>
      <description>&lt;P&gt;Based on those messages I can't tell exactly what's failing, but there's a&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://go.documentation.sas.com/?cdcId=etscdc&amp;amp;cdcVersion=14.2&amp;amp;docsetId=etsug&amp;amp;docsetTarget=etsug_sasefred_syntax01.htm&amp;amp;locale=en#etsug.sasefred.fred-debug-opt" target="_self"&gt;debug=&lt;/A&gt; option you can place on the LIBNAME statement to get more information in the SAS log. When you add debug=on you should see a filename statement generated in the log window. Can you use the url found in the log on your browser? If you get an error there, that implies a problem with the API key (too short, expired, etc.).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the url works from the browser, and the debug= information does not help you determine root cause for the failure, then the debug= info is helpful for SAS Technical Support (me), along with the results of this code:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;%put _automatic_;&lt;/P&gt;
&lt;P&gt;Feel free to post back the results of the above tests or email them to &lt;A href="mailto:support@sas.com" target="_blank"&gt;support@sas.com&lt;/A&gt;&amp;nbsp;to create a tracking entry with Tech Support so that I or someone on my team can do more research and offer you feedback.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 17:41:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SASEFRED-can-t-connect/m-p/720276#M4057</guid>
      <dc:creator>Bari_sas</dc:creator>
      <dc:date>2021-02-18T17:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: SASEFRED can't connect</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SASEFRED-can-t-connect/m-p/720298#M4058</link>
      <description>&lt;P&gt;Yes, when I use debug=on, the log shows a filename that includes my apikey, and I'm able to browse to that url successfully.&amp;nbsp; It just shows a brief XML document including some series information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll email you the debug info.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 18:52:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SASEFRED-can-t-connect/m-p/720298#M4058</guid>
      <dc:creator>mcs</dc:creator>
      <dc:date>2021-02-18T18:52:13Z</dc:date>
    </item>
  </channel>
</rss>

