You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
I am trying to create the remote dashboard using /api/dashboard/remoteCreate RESTAPI in curl command, for that I created the api token as mentioned in the issue #2416
Below is curl command which I used for create dashboard
I am getting issue like below
{
"timestamp": 1632146348562,
"status": 500,
"error": "Internal Server Error",
"exception": "java.lang.StringIndexOutOfBoundsException",
"message": "String index out of range: -1",
"path": "/api/dashboard/remoteCreate"
}
Can some one help me in resolve these issue.
'
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi Team,
I am trying to create the remote dashboard using /api/dashboard/remoteCreate RESTAPI in curl command, for that I created the api token as mentioned in the issue #2416
Below is curl command which I used for create dashboard
curl --location --request POST 'http://ip:port/api/dashboard/remoteCreate'
--header 'Content-Type: application/json'
--header 'apiUser: apiuser'
--header 'Authorization: apiToken$token'
--data-raw ''''{ "buildEntries": [{ "description": "MTA", "niceName":"Test","options": { "instanceUrl": "", "jobName": "MTA", "jobUrl": "" }, "pushed": false, "toolName": "Hudson" } ], "metaData": { "applicationName": "Test dashboard", "componentName": "Test dashboard", "owner": { "authType": "STANDARD", "username": "admin" }, "template": "splitview", "title": "Test dashboard", "type": "team" } }'''
I am getting issue like below
{
"timestamp": 1632146348562,
"status": 500,
"error": "Internal Server Error",
"exception": "java.lang.StringIndexOutOfBoundsException",
"message": "String index out of range: -1",
"path": "/api/dashboard/remoteCreate"
}
Can some one help me in resolve these issue.
'
The text was updated successfully, but these errors were encountered: