# I have used the macro before, but now it says "Need to authenticate to server!". What to do?

### **Event description**

You have used the macro before, you were authenticated to the server, but now it unexpectedly says "Please authenticate to server!" where the macro should be:\ <br>

![](/files/mMZPAiezzAhpTypOklNi)

### **Cause of event**

If set by an Odoo administrator, the server requires you to re-authenticate periodically. The time period after which the server asks the user to re-authenticate can be set by the Odoo administrator.

### **Resolution**

Re-authenticate as detailed in the [Authenticating to an Odoo Server](/odoo-confluence-connector/user-guide/odoo-connector-for-confluence/odoo-connector-for-users/authenticating-to-an-odoo-server.md) section. If you are an administrator and would like to re-set the time after which the server asks the user to re-authenticate, please follow the[ Application settings](/odoo-confluence-connector/user-guide/confluence-connector-for-odoo/confluence-connector-for-admins/application-settings.md) guide.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.meta-inf.hu/odoo-confluence-connector/user-guide/troubleshooting-guide/i-have-used-the-macro-before-but-now-it-says-need-to-authenticate-to-server-.-what-to-do.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
