- Revenera Community
- :
- Usage Intelligence
- :
- Usage Intelligence Forum
- :
- Re: Subject: Authentication Issue with API - 400 Error "Cookie Missing"
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Subject: Authentication Issue with API - 400 Error "Cookie Missing"
Hello everyone,
I'm encountering a problem while attempting to authenticate with a specific API. After following the official documentation to establish a connection and sending an authentication request using Python's `requests` library, I consistently receive a 400 error with the following message: `{"error": {"code": "400.002.002", "description": "Cookie Missing"}}`.
Here is a simplified snippet of my code:
```python
```
I ensure the session is initiated, and all headers required by the documentation are included. However, the error seems to indicate a missing cookie in my request, although the documentation does not explicitly mention the need for such a cookie for authentication.
Has anyone encountered this type of error before? Is there an additional step or a specific header I might have missed to transmit or receive the required cookie?
Any help or suggestion would be greatly appreciated.
Thank you in advance for your support.
Hi @ELHADIALLO ,
There is an additional step required, and we will update the documentation accordingly. Since most of our team is on holiday due to the region's public holiday schedule, we will be able to assist you by end of this week or early next week. In the meantime, could you please create a support ticket? https://community.flexera.com/t5/Usage-Intelligence-Knowledge/How-to-Create-a-Support-Ticket-for-Usage-Intelligence/ta-p/142952
Thank you,
Bhargava
Hello @BhargavaNagaraj ,
I have the same question - can you please update the documentation or let us know here what's missing?
Regards
Jens
We have updated the v3 API documentation with additional instructions required for authentication.
Thanks