You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

403 Error Calling HDL uploadFile REST API via AI Agent

Summary:

Hi Community,

I'm trying to call the HDL REST API below from an AI Agent:

POST /hcmRestApi/resources/11.13.18.05/dataLoadDataSets/action/uploadFile

The user testing the AI agent has the roles/prerequisites listed in the HDL REST API documentation (Overview of Automating Data Loading), but the call returns:

{  "output": {    "responseStatus": 403,    "response": ""  }}

The AI agent output when testing is:

{
"choices": [
{
"index": 0,
"message": {
"content": "I will start by uploading the spreadsheet file named test.zip. Proceeding with the upload now.",
"role": "assistant",
"tool_calls": [
{
"id": "call_o8uPedtRe7o7n5pWAoy03hE4",
"function": {
"arguments": {},
"name": "doall_uploadFile_dataLoadDataSets"
},
"type": "function"
}
]
},
"finish_reason": "tool_calls"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!