Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request failed with message 'The key:>key provided by the User is invalid. Please provide a proper key for the operation to be successful #3

Open
lauritzst opened this issue Mar 25, 2024 · 0 comments

Comments

@lauritzst
Copy link

lauritzst commented 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.

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

@lauritzst 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant