You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have written a code around your 'fetch.m' function to retrieve data from the BLS API. The code worked fine until recently and now I am getting the following warning message:
"Request failed with message 'The key: provided by the User is invalid. Please provide a proper key for the operation to be successful."
'>key' is just a placeholder in this warning. In my code, I tried two different keys. The first was the BLS key that I always use and which worked until two days ago, and the second is newly created and runs into the exact same problem.
Below is a minimal, reproducible example that should retrieve the CPI data for all items.
blsKey = >key;
b = bls([], blsKey);
fetch(b,'CUUR0000SA0',2019,'catalog','true')
Again, '>key' must be replaced by a character array with a valid key. In my case, it encounters the above warning.
Any help will be greatly appreciated. Many thanks in advance!
Kind regards
Lauritz
The text was updated successfully, but these errors were encountered:
lauritzst
changed the title
Request failed with message 'The key:<key> provided by the User is invalid. Please provide a proper key for the operation to be successful
Request failed with message 'The key:>key provided by the User is invalid. Please provide a proper key for the operation to be successful
Mar 25, 2024
Good day!
I have written a code around your 'fetch.m' function to retrieve data from the BLS API. The code worked fine until recently and now I am getting the following warning message:
"Request failed with message 'The key: provided by the User is invalid. Please provide a proper key for the operation to be successful."
'>key' is just a placeholder in this warning. In my code, I tried two different keys. The first was the BLS key that I always use and which worked until two days ago, and the second is newly created and runs into the exact same problem.
Below is a minimal, reproducible example that should retrieve the CPI data for all items.
Again, '>key' must be replaced by a character array with a valid key. In my case, it encounters the above warning.
Any help will be greatly appreciated. Many thanks in advance!
Kind regards
Lauritz
The text was updated successfully, but these errors were encountered: