Hello,
I was using the package normally until today when I received the following erro message:
Error: lexical error: invalid char in json text.
<html xmlns="http://www.w3.org/
(right here) ------^
After checking the API query in the browser, I noticed that the query generated by the package was receiving the following error message in the browser:
API : http://dataservices.imf.org/REST/SDMX_JSON.svc/CompactData/IFS/Q+A.BR+US.NGDP_R_PT?startPeriod=1990-01-01&endPeriod=2017-12-31
Error: The requested URL does not comply with standards and has been rejected. Please contact your admin with the support ID 9176104504529288535
Changing the separation between the variable code and the startPeriod from ? to + solved the problem. I believe this is due to a change in IMF's API.
New API: http://dataservices.imf.org/REST/SDMX_JSON.svc/CompactData/IFS/Q+A.BR+US.NGDP_R_PT+startPeriod=1990-01-01&endPeriod=2017-12-31
Any thoughts?
Hello,
I was using the package normally until today when I received the following erro message:
Error: lexical error: invalid char in json text.
<html xmlns="http://www.w3.org/
(right here) ------^
After checking the API query in the browser, I noticed that the query generated by the package was receiving the following error message in the browser:
API : http://dataservices.imf.org/REST/SDMX_JSON.svc/CompactData/IFS/Q+A.BR+US.NGDP_R_PT?startPeriod=1990-01-01&endPeriod=2017-12-31
Error: The requested URL does not comply with standards and has been rejected. Please contact your admin with the support ID 9176104504529288535
Changing the separation between the variable code and the startPeriod from ? to + solved the problem. I believe this is due to a change in IMF's API.
New API: http://dataservices.imf.org/REST/SDMX_JSON.svc/CompactData/IFS/Q+A.BR+US.NGDP_R_PT+startPeriod=1990-01-01&endPeriod=2017-12-31
Any thoughts?