Hello everyone. Trying to set up an Api Action from the Server Connect with AI, I noticed that AI (all models) has problem to modify the server connect file.
Then I requested a brief report to add here to understand what is the problem.
Any suggestion is appreciated.
Regards
Roberto. **
Description:**
I'm trying to configure an API Connector action in a Server Connect file (swtch_to_embed.json) to make a POST request to a local API endpoint. The action step is already created but empty, and I need to add the configuration details.
Target Configuration:
-
Method: POST
-
Headers: Content-Type: application/json
-
Body (JSON):
{
"target_mode": "embed_exclusive",
"reason": "Avvio processing documenti",
"priority": 7,
"force": false
}
Problem:
When attempting to update the API action step using the replace_action_step function, I receive this error:
Problem:
When attempting to update the API action step using the replace_action_step function, I receive this error:
What I've tried:
-
Adding
"oauth": ""(empty string) to the options object - still getting the error -
The API endpoint doesn't require OAuth authentication, just a simple POST request with JSON data
Current file structure:
{
"settings": {"options": {}},
"meta": {"options": {}},
"exec": {
"steps": {
"name": "api",
"module": "api",
"action": "send",
"options": {},
"output": true
}
}
}
Question:
What is the correct way to configure the oauth option in the API Connector when no OAuth authentication is required? The validation is blocking the update even when providing an empty string for the oauth field.
Is this a required field that must reference a global OAuth module, or should there be a way to specify "no authentication" for simple API calls?






