Possible bug with API key(s) #299
-
Hi devs I send request at "https://enotices2.preview.ted.europa.eu/esenders/api/v2/notice/notices/search-esentool" with active API key. Everything is ok. I get all what i want in response. So i use my previous API key which should be invalid/expired. But it works and i get my message with errors in sended xml which is right response. But wrong implementation because this API key should not be active. What happend ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, I think your issue is because you are mixing up the 2 environments that are available to you:
The API keys for each environment are distinct, and have to be obtained from the Developer Portal in the corresponding environment. All apps and APIs in the "preview" environment have "preview" in their domain name. |
Beta Was this translation helpful? Give feedback.
Hi,
I think your issue is because you are mixing up the 2 environments that are available to you:
The API keys for each environment are distinct, and have to be obtained from the Developer Portal in the corresponding environment.
See https://docs.ted.europa.eu/home/eforms/preview/index.html
All apps and APIs in the "preview" environment have "preview" in their domain name.
So it seems you're using eNotices2 in "preview", but CVS in "production". CVS in "preview" will accept the same key as eNotices2.